Results 1 to 2 of 2

Thread: ExtJS 3.4.1.1 makes tree node cursor into default instead of pointer/hand

    You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    26
    Vote Rating
    2
      0  

    Default ExtJS 3.4.1.1 makes tree node cursor into default instead of pointer/hand

    Prior to Ext JS 3.4.1.1 when you mouse over a tree node, the mouse cursor would become a hand (or pointer in CSS terms) rather than the default mouse pointer.

    Ext version tested:

    Ext 3.4.1.1

    Browser versions tested against:

    Firefox latest, Chrome latest, IE10

    Description:
    New CSS rule in Ext JS 3.4.1.1 seems to be quite aggressive. It adds a cursor: default to this bit

    Code:
    .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;
    }
    So this will cause things like the tree node text to no longer have the cursor "pointer" that previous versions of Ext JS had.

    In 3.4.1.0 the above rule was like this:

    Code:
    .x-unselectable,.x-unselectable *{
        user-select:none;
        -o-user-select:none;
        -ms-user-select:none;
        -moz-user-select:-moz-none;
        -webkit-user-select:none;
    }



    Steps to reproduce the problem:

    1. open http://cdn.sencha.com/ext/gpl/3.4.1....two-trees.html
    2. notice that mousing over the tree node text results in the default cursor.
    3. to the right of the tree node text, the cursor becomes the pointer/hand as expected

    The result that was expected:

    See previous version of Ext JS, e.g.
    http://dev.sencha.com/deploy/ext-3.4...two-trees.html

    Possible fix:

    Code:
    .x-tree-node a span { cursor: pointer; }
    In my case I also have anchors in grid columns using custom formatting, so I have to extend the above as follows:

    Code:
    .x-tree-node a span, .x-grid3-cell-inner a { cursor: pointer; }
    Last edited by anupkshah; 29 May 2013 at 3:26 AM. Reason: Added example code from Ext JS 3.4.1.0

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    We already have a bug filed for this.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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