Opened 14 years ago

Last modified 8 years ago

#5777 closed enhancement

Popups should be placed relatively to aroundNodes — at Initial Version

Reported by: guest Owned by:
Priority: high Milestone: 1.9
Component: Dijit Version: 1.0
Keywords: popup moving place Cc: ben hockey
Blocked By: Blocking:

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 (0)

Note: See TracTickets for help on using tickets.