Results 1 to 5 of 5

Thread: aria-selected behaves differently than selectedItemCls

  1. #1
    Sencha Premium User alexander.urban's Avatar
    Join Date
    Nov 2013
    Posts
    324
    Answers
    9
    Vote Rating
    51
      0  

    Default aria-selected behaves differently than selectedItemCls

    In ExtJS 6.5.3, if you select a row on a table programmatically, the aria-selected property does not behave the same as selectedItemCls.

    In the renderRow class, where, when an already selected row is newly rendered, only the selectedItemCls is set:

    Code:
                    if (selModel.isRowSelected(record)) {
                        itemClasses.push(me.selectedItemCls);
                    }
    but the aria attribute is not taken into account; it is only taken into account if the selection is done on an already rendered row:

    Code:
        onRowSelect: function(rowIdx) {
            var me = this,
                rowNode;
    
    
            me.addItemCls(rowIdx, me.selectedItemCls);
            
            rowNode = me.getRow(rowIdx);
            if (rowNode) {
                rowNode.setAttribute('aria-selected', true);
            }

    The same error is still in 6.7.0:

    https://fiddle.sencha.com/#view/editor&fiddle/2qen

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    938
    Answers
    5
    Vote Rating
    -498
      1  

    Default

    Thank you so much for your post. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated! We do suggest using the support portal when you need assistance with a capability of a Sencha product, you have identified a situation where a products behavior is inconsistent with the product documentation and might indicate a software bug, or when the communication between you and Sencha needs to be private.

    Thanks again,

    Michele



  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    418
    Answers
    4
    Vote Rating
    -308
      -1  

    Default

    Hello Alexander,

    This issue has been registered in our bug tracker for resolution, the reference Jira EXTJS-28199 for the issue will be linked here for you to check the status.

    Regards,
    Kumar
    Sencha Support.

  4. #4
    Sencha Premium User alexander.urban's Avatar
    Join Date
    Nov 2013
    Posts
    324
    Answers
    9
    Vote Rating
    51
      0  

    Default

    I still don't see the reference. Any update?

  5. #5
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    418
    Answers
    4
    Vote Rating
    -308
      0  

    Default

    Hello Alexander,

    The functionality to link the Jira here isn't working for now and we are working on restoring that, ticket will be linked as soon as it is up. However, I will keep you posted in the meanwhile on any pertinent updates on the bug.

    Regards,
    Kumar
    Sencha Support.

Posting Permissions

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