Results 1 to 3 of 3

Thread: input field unselectable in webkit. "-webkit-user-select: none;" -> ignore

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2008

    Default input field unselectable in webkit. "-webkit-user-select: none;" -> ignore

    Hi there,

    File ext-all.css packaged in extjs comes with a minor problem.

    I have a grid using Ext.ux.grid.Search plugin. This plugin let's you search the grid.
    The plugin adds an input field where you can type the text to search. The problem is the input field is unselectable when using extjs combined with webkit.

    I've traced the CSS and found the difference between 3.4.0 and This is how looks like:

    .x-unselectable, .x-unselectable * {
    user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    cursor: default;
    While 3.4.0 had:

    .x-unselectable, .x-unselectable * {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: ignore;

    I'm not an expert in CSS but I believe -webkit-user-select should have been kept to ignore.

    EDIT: In fact -webkit-user-select: ignore; is an invalid property. I thing -webkit-user-select: auto; is better.

    I added this to my css and makes it work:
    .ext-webkit .x-unselectable, .x-unselectable * {
    I hope this report helps in fixing this possible problem for others. Perhaps developers acknowledge this as a bug and fix it for others too.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    If you are reporting a bug, please post in the bugs forum.

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Jun 2009

    Default sugestion

    I try your sugested fix and works, but you can select all the obj on the screen too. I use this:

    .ext-webkit input {

    So you change the css property on inputs only.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts