Listbox issue in Firefox 119.0

asked 2023-11-17 17:26:58 +0800

AndreiArdei gravatar image AndreiArdei
111 3

updated 2023-11-17 17:32:52 +0800


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.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2023-11-20 17:06:33 +0800

MDuchemin gravatar image MDuchemin
2480 1 6
ZK Team

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")

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2023-11-17 17:26:58 +0800

Seen: 8 times

Last updated: Nov 20

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More