Bug: Tab text is selectable causing undesirable highlighting

2 posts, 0 answers
  1. Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 10 Jul 2013 Link to this post

    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;

  2. Dimo
    Dimo avatar
    8486 posts

    Posted 11 Jul 2013 Link to this post

    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.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top