Opened 14 years ago
Closed 14 years ago
#3012 closed defect (fixed)
popup flashes in old position before being placed
Reported by: | Adam Peller | Owned by: | haysmark |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Dijit | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
in test_validate.html, click on the first dropdown for datetextbox. Then the other dropdown. Go back and forth. You should see the popup flash in the old position before showing up in the new position.
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Component: | Widgets → Dijit |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is happening at the low level, below PopupManager?.openAround, where the positioning code asks the browser to position the popup and it doesn't. It is very aggravating.
Even if you have one popup per instance, you still get this problem when you first click because the popup will appear in the upper left of the screen.
This is a generic problem with attaching nodes to the body and then repositioning them. You see the flash because I wrote a hack to close and reopen the popup via PopupManager?, which correctly positions it on its second try.