Fixed Autocomplete: Please apply simple select2 change to make the tab key behave like the enter key

Steffen

Well-known member
Affected version
2.2.8
Users expect the tab key to select the suggestion (i.e. behave like the enter key) instead of closing the autocompleter (i.e. behaving like the escape key). I think a few years ago this would maybe have been a feature suggestion but nowadays I think this is a bug because XenForo's current behaviour confuses users of apps like Discord or Slack.

The fix is very simple and was merged into select2 about one year ago: https://github.com/select2/select2/pull/5759

There has not yet been a select2 release that contains the fix but the risk seems low. I have applied the fix to our forum and it would be nice to have this change applied to all XenForo forums.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Adjust Select2 and native auto-completer to accept tab key as selecting a result.
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom