ICEfaces
  1. ICEfaces
  2. ICE-8311

ace:dataTable filtering loses keyboard focus

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0.RC1
    • Fix Version/s: 3.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      icefaces3/trunk svn rvn#29773
    • Assignee Priority:
      P1

      Description

      When using the ace:dataTable filtering function, focus is lost from the filter input field when the user types and the filter update is applied to the DOM. This inhibits a suitable user experience as the user must constantly refocus on the filter field to continue editing the filter.

        Activity

        Ken Fyten created issue -
        Hide
        Ken Fyten added a comment -

        To reproduce you can use the showcase filtering or Overview demos.

        Show
        Ken Fyten added a comment - To reproduce you can use the showcase filtering or Overview demos.
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Assignee Priority P1
        Assignee Nils Lundquist [ nils.lundquist ]
        Ken Fyten made changes -
        Fix Version/s 3.1 [ 10312 ]
        Fix Version/s 3.1.0.RC1 [ 10337 ]
        Hide
        Nils Lundquist added a comment -

        Narrowed regression to changes in rvn 29445:

        ICE-8058 - Lookup missing submit triggering element by navigating up the call stack to the fullSubmit or singleSubmit function call, and then retrieve the element parameter. Set the triggering element as property on the XMLHttpRequest object to act as a thread context variable so that its value can be used by the 'complete' and 'success' following events.

        Assigning to Mircea for analysis.

        Show
        Nils Lundquist added a comment - Narrowed regression to changes in rvn 29445: ICE-8058 - Lookup missing submit triggering element by navigating up the call stack to the fullSubmit or singleSubmit function call, and then retrieve the element parameter. Set the triggering element as property on the XMLHttpRequest object to act as a thread context variable so that its value can be used by the 'complete' and 'success' following events. Assigning to Mircea for analysis.
        Nils Lundquist made changes -
        Assignee Nils Lundquist [ nils.lundquist ] Mircea Toma [ mircea.toma ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29835 Thu Jul 05 15:46:45 MDT 2012 mircea.toma ICE-8311 Set focus to none just after the submit is issued, this way the ice.applyFocus eval update will be effective. Also make sure the caret is set at the end of the input string.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/focus.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
        Hide
        Mircea Toma added a comment -

        Set focus to none just after the submit is issued, this way the ice.applyFocus eval update will be effective (since focus is moved only when current client focus differs from the one that is applied by the update).

        Show
        Mircea Toma added a comment - Set focus to none just after the submit is issued, this way the ice.applyFocus eval update will be effective (since focus is moved only when current client focus differs from the one that is applied by the update).
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: