We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onSelectedItemChange
onMouseMove
onClick
downshift
node
npm
yarn
Relevant code or config
It's related to onSelectedItemChange
What you did: Use Playwright for testing a combobox.
What happened: The onSelectedItemChange is triggered twice.
Reproduction repository:
I based the reproduction on the official example for multi-selects.
https://github.com/jeffijoe/mobx-react-downshift-issue
Problem description: onSelectedItemChange triggers multiple times when onMouseMove and onClick happens in the same frame
Suggested solution: Prevent calling onSelectedItemChange twice in the same frame
The text was updated successfully, but these errors were encountered:
Maximum update depth exceeded
mobx-react@8
No branches or pull requests
downshift
version: 9.0.4node
version: 20npm
(oryarn
) version: 10.5.0Relevant code or config
It's related to
onSelectedItemChange
What you did: Use Playwright for testing a combobox.
What happened: The
onSelectedItemChange
is triggered twice.Reproduction repository:
I based the reproduction on the official example for multi-selects.
https://github.com/jeffijoe/mobx-react-downshift-issue
Problem description:
onSelectedItemChange
triggers multiple times whenonMouseMove
andonClick
happens in the same frameSuggested solution: Prevent calling
onSelectedItemChange
twice in the same frameThe text was updated successfully, but these errors were encountered: