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
If hideSelectedOptions is set to true, all other options disappear after an option is selected. (Might be related to search functionality)
If hideSelectedOptions is set to false, rfs-option-selected css class is applied to all options after an option is selected.
onOptionChange does not fire again after an option is selected. Note that this was the case when hideSelectedOptions was set to false, since there is currently no way to fire it twice while it is set to true afaik.
Code is pretty much like the following. If my code is wrong, feel free to let me know.
Ya good catch, not entirely sure yet, but I'm recreating it as well. I think it has to do with the fact that in a single-select, hideSelectedOptions=true scenario, when the menu is opened it tries to scroll to the index of that selected option (but it is not in the menuOptions result set). This issue is worked around in multi-select scenarios by always opening to the first item in the menuOptions.
hideSelectedOptions
is set to true, all other options disappear after an option is selected. (Might be related to search functionality)hideSelectedOptions
is set to false,rfs-option-selected
css class is applied to all options after an option is selected.onOptionChange
does not fire again after an option is selected. Note that this was the case whenhideSelectedOptions
was set to false, since there is currently no way to fire it twice while it is set to true afaik.Code is pretty much like the following. If my code is wrong, feel free to let me know.
The text was updated successfully, but these errors were encountered: