qlik-oss / nebula.js

Product and framework agnostic integration APIs for Qlik's Associative Engine
https://qlik.dev/extend/set-up-nebula-environment/
MIT License
77 stars 57 forks source link

Listbox search bar - can't type "space" key #960

Closed rkassoss closed 2 years ago

rkassoss commented 2 years ago

🐛 Bug report

Cannot type the "space" key into the search bar. You can copy and paste a string with space characters, but can't type it.

Steps to Reproduce

  1. Click on the search bar
  2. Type "John Doe"

Expected behavior

Should see "John Doe" string presented in the search bar and value list filtered down only to "John Doe" and it is highlighted in yellow.

Actual behavior

"JohnDoe" is typed in the search bar and there are no values meeting that search criteria

Versions

Additional context

(Add any other context, link to demo or screenshots about the issue.) listbox-searchbar-issue-1

Caele commented 2 years ago

Confirmed, the event ends up in here: https://github.com/qlik-oss/nebula.js/blob/master/apis/nucleus/src/components/listbox/interactions/listbox-keyboard-navigation.js#L87 Even if you are already focusing the input field itself.