-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Normal
-
None
-
Affects Version/s: 9.6.4
-
Component/s: None
-
Security Level: Jimmy
-
None
Steps to Reproduce
- visit the page with Firefox
- move the scrollbar to the rightmost position
- select a listitem
Current Result
the scrollbar moves to the left
Expected Result
the scrollbar doesn't move
Debug Information
1. calling focus(), firefox will scroll the focus button to the center of the view if the button is out of the current viewport. Although listbox.synfocus() already moves the focus button to the edge of the current viewport. Somehow firefox still thinks the button is not in the viewport and scrolls it into the center of the view.
Workaround
n.focus({preventScroll: true });
since we don't want to scroll anyway.