0

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
4671 2 7
ZK Team

Hello,

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

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

Thanks you.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

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

cor3000 gravatar image cor3000
4671 2 7
ZK Team

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

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

Follow
1 follower

RSS

Stats

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

Seen: 5 times

Last updated: Sep 12

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