- Issue created by @kyleleber
- Status changed to Postponed: needs info
over 1 year ago 1:47pm 25 February 2023 - 🇦🇹Austria drunken monkey Vienna, Austria
Thanks for posting this issue!
Indeed, this behavior is confusing – I think we can actually call it a bug. Therefore, I’d also be open to just fixing it in this module (without adding an option for it).
I would, however, also appreciate other people’s feedback on this. If the current behavior is considered correct/desired by some users, then of course we should add an option instead of forcefully switching it.In any case, though, I tried, and it unfortunately seems like there is no way to access the key which was pressed from inside the
uiAutocomplete.options.select
function. We would probably have to override some other event listener as well.
Do you have some idea how this could be accomplished? - 🇺🇸United States kyleleber
Thanks for getting back! Sorry for the late reply.
I'm not sure if this would be an acceptable way to handle it in all cases, but I was able to address this for our implementation by tapping into the event's keyCode and disabling the TAB key in the uiAutocomplete.options.select function. Attaching the patch we used.
I definitely see this as needing to get other user's feedback, since like you said, others may rely on this functionality already.
- Status changed to Needs review
over 1 year ago 8:58am 4 March 2023 - 🇦🇹Austria drunken monkey Vienna, Austria
Thanks a lot for the patch!
So, the key code is available on the event after all, very good to know. The Debugger just showed the object in a very confusing way so I didn’t realize this before, but then the solution is of course rather simple.Posting a re-roll and setting this to “Needs review” so others can give their feedback. If there’s nothing in the next one or two weeks, I’ll just commit it and then wait and see whether someone complains.
-
drunken monkey →
committed 235b99b9 on 8.x-1.x authored by
kjl16 →
Issue #3342798 by kjl16, drunken monkey: Fixed URL suggestions...
-
drunken monkey →
committed 235b99b9 on 8.x-1.x authored by
kjl16 →
- Status changed to Fixed
over 1 year ago 9:03am 19 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.