Skip to content
New issue

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

fix(vue-instantsearch): prevent click on navigation items when pressing modifiers #5837

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

sarahdayan
Copy link
Member

This replicates the same behavior as in InstantSearch.js and React InstantSearch—whenever the end user is pressing a modifier key or the middle mouse button, we prevent from refining.

The behavior will be tested in #5836 which will be rebased onto it, so I skipped tests here to avoid doing the same work twice. Let me know if you think differently.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 6, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 97171a6:

Sandbox Source
InstantSearch.js Configuration
react-instantsearch-app Configuration
example-react-instantsearch-default-theme Configuration
example-vue-instantsearch-default-theme Configuration

@sarahdayan sarahdayan merged commit 53a2434 into master Sep 8, 2023
@sarahdayan sarahdayan deleted the fix/pagination-modifier-click branch September 8, 2023 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants