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
@slinkymanbyday I was also able to reproduce a similar issue but only when the dropdown has initial values.
Could you share a sample in codepen or similar with your particular use case?
Can confirm that silentInitialValueSet has worked for me. still kinda strange that focus happens when this value is true, but since it's working happy for this issue to be closed.
When creating a dropdown with the below code:
VirtualSelect.init({ ele: this, search: true, zIndex: 1000, maxWidth: maxWidth, autofocus: false });
The page autofocuses to the dropdown element.
This issue appears to only happen in 1.0.45
I have tested versions going back to 1.0.40, and prior versions seems to be ok.
My guess is it has to do with this line: https://github.com/sa-si-dev/virtual-select/pull/350/files#diff-7075f90f187d4b281f22b3136982040883bc7595e92f73267c6e47868729dd64R2359
commenting it out on version 1.0.45 seems to solve the issue, however I'm not proficient in JS enough to dig deeper than that.
The text was updated successfully, but these errors were encountered: