-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.7, 8.0.1.1
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.2 S2
-
None
widget.scrollIntoView (zjq.prototype.scrollIntoView) call if (!this.isScrollIntoView()) to check if the target is currently visible.
However, this check only goes up the dom tree until the first ascendant holding a style overflow:auto (or similar).
In a scenario with nested scrollable container, only the first ascendant will be scrolled.
This also cause non-scrollable containers holding a style overflow:auto such as grid-body to interupt this search and prevent scroll intro view.
It would be great to have Clients.scrollIntoView(Component, Boolean recursive [default true]) and widget.scrollintoView(Boolean recursive)
possible workaround:
use [recursive]true as (!this.isScrollIntoView(true)) in zjq.prototype.scrollIntoView.