Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

fix(helper): fix helpers to scroll to elements before attempting to click on it #6

Merged
merged 1 commit into from
Sep 6, 2019

Conversation

yannickcr
Copy link
Contributor

Some click events can fail in some browsers (IE in particular) if the target element is not in the viewport.

This change updates all helpers that trigger click events to scroll to the target element before attempting to click on it.

@yannickcr yannickcr requested review from tkrugg and Haroenv September 5, 2019 16:43
Copy link

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@yannickcr yannickcr merged commit cd87be6 into master Sep 6, 2019
@yannickcr yannickcr deleted the fix/helper-scroll branch September 6, 2019 12:07
Haroenv pushed a commit to algolia/instantsearch that referenced this pull request Nov 24, 2022
Haroenv pushed a commit to algolia/instantsearch that referenced this pull request Nov 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants