Changes between Initial Version and Version 5 of Ticket #9024


Ignore:
Timestamp:
Apr 5, 2010, 5:20:38 AM (11 years ago)
Author:
bill
Comment:

I think there are three separate issues conflated here:

  1. request to disable auto-scroll when (while dragging the dialog) mouse is near top or bottom edge of the viewport
  2. from the forum post, request [for option] to restrict dialog dragging within bounds of viewport, using constrainedMovable
  3. some other issue I see when moving the mouse to the right; even when autoscroll is disabled, having the dialog at the right makes the document wider, showing a horizontal scrollbar. Not such a big issue.

I have a patch for #1 which I'll attach, although I'm not sure I should check it in, maybe the auto-scroll is actually useful when there's a Dialog? In any case I don't see how the current behavior is a problem, maybe you can explain?

For #2, I don't see the urgency either, actually being able to move the Dialog partially off-screen is often important so the user can see the content behind the dialog.

As for #3 that doesn't seem important.

So, I'll leave this open to consider for 1.6, but will likely close as wontfix.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9024

    • Property Cc Eugene Lazutkin added
    • Property Component changed from General to Dijit
    • Property Summary changed from Dialog Windows can be moved out from viewport to Dialog: dragging to edge of viewport causes window to start scrolling
    • Property Milestone changed from tbd to 1.6
    • Property Owner anonymous deleted
  • Ticket #9024 – Description

    initial v5  
    1212This problem is also stated in dojo forum:[[BR]]
    1313
    14 [http://www.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dialog-problem-window-underneath-starts-scrolling-when-dialog-mo][[BR]]
     14[http://o.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dialog-problem-window-underneath-starts-scrolling-when-dialog-mo][[BR]]
    1515
    1616This can be easily fixed by disabling dojo.dnd.autoScroll call in ../dojo/dnd/Mover.js [[BR]]