Ticket #5777 (new enhancement)
popups: close when window resized
| Reported by: | guest | Owned by: | bill |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | Dijit | Version: | 1.0 |
| Severity: | normal | Keywords: | popup moving place |
| Cc: |
Description
I guess the problem is related to ticket #5776.
Some of the widgets use dijit.popup to show some content attached to the widget, e.g. TimeTextBox? shows _TimePicker. When you have the content of the page centered (or right-aligned I guess) resizing the browser window make all the page elements move. But the popups do not move, since they are positioned with:
// In dijit/base/_place.js:155-156 you can read: node.style.left = best.x + "px"; node.style.top = best.y + "px";
In my opinion they should be somehow sticked to the parent widget, so that they move when the parents move.
Maybe some trick with position:relative would do the job?
Regards, Grzegorz Olędzki
Change History
Note: See
TracTickets for help on using
tickets.