Opened 12 years ago
Closed 12 years ago
#8582 closed defect (fixed)
scrollIntoView should scroll to end of node if that results in less scrolling
Reported by: | Douglas Hays | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dijit | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Right now scrollIntoView tries to scroll to the start of the node all the time. Sometimes, scrolling to the end results in less overall screen movement.
Note: See
TracTickets for help on using
tickets.
[16561] Fixes #8582. Minimize scrolling by aligning either the start or end - whichever causes less movement. Don't scroll at all if both ends of the node are hidden.