Focus issue with wj-auto-complete in wj-flexgrid cell edit (AngularJS)

Posted by: lauri.taipale on 19 September 2017, 8:30 pm EST

  • Posted 19 September 2017, 8:30 pm EST

    Using Wijmo 5.20172.334, the issue does not exist in 5.20171.293.

    When using an auto-complete widget/directive for editing a FlexGrid’s cell value, the auto-complete dropdown does not (always) receive focus properly after first entering one or more characters to the text field and then attempting to focus an item from the dropdown menu using the arrow up/down keys. Instead focus jumps back to the FlexGrid and causes the selected row to be changed and the auto-complete to be dismissed.

    • Usually(?) this * “does NOT happen on the first time”

      the auto-complete is activated after page (re-)load.
    • Subsequent attempts to use the auto-complete seem to always result in the selected row being changed and the auto-complete dismissed.
    • Also, the issue is not reproduced when the auto-complete is activated/opened by typing in a single SPACE character to the text field OR if the cell-to-be-edited is double clicked using the mouse (min-length=0 causes the dropdown to be opened without any keyboard input).

    Reproducible with IE 11 and latest Chrome with this demo app: http://jsfiddle.net/lauritaipale/e1z9m4u7/

    Steps to reproduce:

    1. Select a cell in the ‘country’ column on any row.
    2. Type in a character (other than SPACE) to switch into edit mode and open the auto-complete dropdown.
    3. Wait for the dropdown to open, then attempt to focus an item in it by using ARROW UP / DOWN keys → Selected grid row will change and the auto-complete will be dismissed.
  • Posted 21 September 2017, 7:46 pm EST

    I’ve also created a support case #288413 regarding this issue.

  • Posted 22 September 2017, 12:47 am EST

    Hi,

    Thank you for the sample.

    We are able to replicate the issue and it seems a bug. Hence, this issue has been escalated to the concerned team for further investigation with internal tracking id #288442.

    We will let you know as we get an update on this.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 November 2017, 3:37 pm EST

    Hi, any update on this? I am having same issue using latest version (5.20172.359). Is there an option to add for this to work properly (i.e. focus on wj-auto-complete list and keyboard arrows up/down navigates through the list).

    Thanks & Regards

    Joanne

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels