This is a migrated thread and some comments may be shown as answers.

Bug: Tab text is selectable causing undesirable highlighting

1 Answer 25 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 10 Jul 2013, 06:06 PM
I'm not sure about other browsers, but using Chrome on Linux version Version 28.0.1500.71 I see the text of tabs being selected when I click on them (see attached screenshot).

Here's how I have fixed it with CSS:
li[role|="tab"] {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 Jul 2013, 12:10 PM
Hello Joshua,

Indeed, the tab text can be selected if the user holds down the mouse button and drags, instead of clicks. This is normal. Generally, we prefer to disable text selection only when it is required and this particular case has not been reported so far.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TabStrip
Asked by
Josh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or