You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When typing out Japanese special characters, in this case クイズ the search result is not selected when clicking the search result, but another option (first option, not part of the search results) is selected.
This does NOT happen when copy pasting these characters, only when typing them out.
p.s. The loading state sticking in the GIF above is a separate issue, not relevant for this issue, in the code example https://tom-select.js.org/examples/remote/, self.settings.load = null; should be self.settings.load = (query, callback) => callback(); to clear the loading state on searches
Expected behavior
The sole search result to get selected after clicking on the sole search result
Steps to reproduce
See codepen below
Search for クイズ by typing it out (NOT pasting)
Click on the sole search result
X. See the first option getting select, which was not part of the search result
Bug description
When typing out Japanese special characters, in this case
クイズ
the search result is not selected when clicking the search result, but another option (first option, not part of the search results) is selected.This does NOT happen when copy pasting these characters, only when typing them out.
Might be useful: how to install a Japanese keyboard
p.s. The loading state sticking in the GIF above is a separate issue, not relevant for this issue, in the code example https://tom-select.js.org/examples/remote/,
self.settings.load = null;
should beself.settings.load = (query, callback) => callback();
to clear the loading state on searchesExpected behavior
The sole search result to get selected after clicking on the sole search result
Steps to reproduce
クイズ
by typing it out (NOT pasting)X. See the first option getting select, which was not part of the search result
https://codepen.io/Rhinni/pen/bGPJNjV
Additional context
The text was updated successfully, but these errors were encountered: