-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
Some of our users started using Firefox 119.0 and found that in this specific version listboxes that have a horizontal scroll tend to jump around if you click inside them. So if you scroll all the way to the right of the listbox, click on a row, in previous versions the view would stay where it is but in Firefox 119 it just jumps a few pixels to the left.
I tried to look up if others had this problem with firefox 119 i.e. if there's a bug for it on bugzilla but found nothing. So this is the next best place to ask for help.
Can someone else also test this and agree that it's an error in ZK or if not maybe i am doing something wrong :)
EDIT: I did try adding Clients.scrollIntoView(ListItem)
but seems to do nothing. Also tested with the latest version of Edge & Chrome, no problem there.
Hey there,
I believe you are referring to a family of issues such as this: https://tracker.zkoss.org/browse/ZK-5568
The TL:DR on these issues is that Firefox has recently updated their focus handling so that the target of the focus operation is scrolled at the center of the scrollable container, instead of being set at the top-left corner like every other browsers (or previous FF versions)
Check the workaround in the ticket, since you are encountering the same issue, it probably can resolve this for now while either FF reverts that weird change, or ZK includes a special handling for it in future releases. (workaround is the file attached "zk-5568.js")
Asked: 2023-11-17 17:26:58 +0800
Seen: 8 times
Last updated: Nov 20