-
Bug
-
Resolution: Fixed
-
Critical
-
8.5.2.1
-
Safari 12.1.1
-
None
Steps to Reproduce
http://zkfiddle.org/sample/3kivtbf/1-ZK-2313-in-safari
- Use Safari to test
- Click each button to test
Current Result
The result of "Model ROD True" is wrong and behaves oddly.
Expected Result
The result of "Model ROD True" is correct and behaves normally.
Debug Information
- The height of listbox grows and shrinks since 8.5.2.1.
- Only Safari has this issue.
- B50-
ZK-587.zul has a similar issue (if rows was used)
MeshWidget.js
hgh = $midVisiRow.offsetTop() + $midVisiRow.offsetHeight();
The value of $midVisiRow.offsetTop() is wrong in Safari (returns more like a scrollTop value)
Workaround
- relates to
-
ZK-2313 Listbox's scrollIntoView should be consistent by invoking with setSelectedIndex(), setSelectedItem(), and Listitem's setSelected()
- Closed