Ticket #5777 (new enhancement)

Opened 10 months ago

Last modified 9 months ago

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

Changed 9 months ago by bill

  • owner set to bill
  • summary changed from Popups should be placed relatively to aroundNodes to popups: close when window resized
  • milestone set to 2.0

I'd just like to close the popups when the window is resized. See also #4600.

Changed 9 months ago by alex

  • milestone changed from 2.0 to 1.3

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.