Unable to select text in listbox

asked 2019-09-11 23:30:37 +0800

SEalet gravatar image SEalet
3 1

updated 2019-09-12 11:56:35 +0800

cor3000 gravatar image cor3000
6280 2 7


i'm encountering some problems with text selection in listbox using Mozilla Firefox. It's look like impossible to select and highlight text in listbox generated by zk. Do you have any clue to help me solve my problem?

An example of listbox where I can't select and highlight the words "Mary", "FEMALE" and "18" :

    <listbox id="box" multiple="true" checkmark="true">
            <listheader label="Name" />
            <listheader label="Gender" />
            <listheader label="Age" />
            <listcell label="Mary" />
            <listcell label="FEMALE" />
            <listcell label="18" />

Thanks you.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-09-12 12:02:17 +0800

cor3000 gravatar image cor3000
6280 2 7

updated 2020-03-23 12:32:30 +0800

yes this is a known issue: ZK-4370

A simple workaround for FF is to limit row selection to the checkmark only by setting nonselectableTags="*" on the listbox

demonstrated here: http://zkfiddle.org/sample/3uf01qd/1-selection-in-FF

UPDATE: ZK-4370 has been implemented by ZK-2433

Selection can be enabled using dedicated library properties:

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




Asked: 2019-09-11 23:30:37 +0800

Seen: 13 times

Last updated: Mar 23 '20

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