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
// Creation of the refinementListDropdown widget
const CulinaryCatsDropdown = createDropdown(
instantsearch.widgets.refinementList,
{ closeOnChange: false }
);
does not avoid the dropdown to close when the user clicks an item in the list.
🔍 Steps to reproduce
Go to tha attached codesandbox url, and start the search with 'test' as a value for the searchbox.
Then, open the dropdown and click an item: the dropdown closes even if closeOnChange :false has been defined.
🐛 Current behavior
// Creation of the refinementListDropdown widget
const CulinaryCatsDropdown = createDropdown(
instantsearch.widgets.refinementList,
{ closeOnChange: false }
);
does not avoid the dropdown to close when the user clicks an item in the list.
🔍 Steps to reproduce
Go to tha attached codesandbox url, and start the search with 'test' as a value for the searchbox.
Then, open the dropdown and click an item: the dropdown closes even if closeOnChange :false has been defined.
Live reproduction
https://codesandbox.io/s/keen-lake-pp46dw
💭 Expected behavior
The dropdown should remain open after the user clicks on a list item, if closeOnChange = false
Package version
latest instantsearch.js 4.52.0 and algoliasearch 4.15.0
Operating system
macOS
Browser
Chrome
Code of Conduct
The text was updated successfully, but these errors were encountered: