0

Incorrect position for dropdown list

asked 2006-07-23 18:01:23 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3834711

By: nobody

Hi, I'm working on a page that displays a modal window when pressing a button.
The modal window has a combobox component. When I press the arrow in order to see the elements of the combobox the dropdown doesn't shows up under the combobox.
It seems that it displays at an absolute position related to the "0,0" of the parent window.
If I drag the modal window to the "0,0" the dropdown fits perfect.

Can anyone give me some help to solve this problem?
(Dragging the window is not a solution :P )

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-07-24 01:51:32 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3835014

By: henrichen

Looks like a bug. Please post to bug list with a Reduced but Complete zuml code that would replicate the issue.

/henri

link publish delete flag offensive edit

answered 2020-01-15 06:18:17 +0800

jaimebruzon gravatar image jaimebruzon
1
<combobox model="@load(vm.var)" xmlns:w="client" onFocus="@command('refresh')" w:onFocus="this.open()"/>

   @Command
    @NotifyChange({"*"})
    public void refresh() {
    }

This works for me, it still shows the misplaced list but it fixes in one second, not a final solution bur an approach.

link publish delete flag offensive edit

answered 2020-01-15 08:56:27 +0800

jeanher gravatar image jeanher
1824 2 6
ZK Team

@Jaimebruzon Thanks for sharing the idea. However the original post was 10+ years old and the version is unknown. If you run into a similar issue with current active versions, please create a new thread with reproducing example so that everyone can help!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-07-23 18:01:23 +0800

Seen: 176 times

Last updated: Jan 15 '20

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More