-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 8.0.5
-
Component/s: None
-
Security Level: Jimmy
-
None
-
Environment:
Chrome Version 56.0.2924.87 (64-bit)
-
None
Steps to Reproduce
http://zkfiddle.org/sample/rigvcs/3-scrollable-menubar-infinite-loop-in-zoomed-browser
Run fiddle.
Use browser zoom to : 110%
Scroll items in menubar
Current Result
After 1st click, menubar doesn't scroll.
Expected Result
Menubar should scroll regardless of zoom level
Debug Info
Caused by infinite loop in zul.menu.Menubar.prototype._moveTo
_moveTo is called on interval to update the position of the scrollable area.
if (currPos == moveDest) assume zoom level = 100% , and pixel = integer.
Since the values never match, the loop keep running and no futher scroll action is possible.
Root Cause
Workaround
- relates to
-
ZK-3151 Tab can be scrolled under zoom level other than 100%
-
- Closed
-