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

Add ability to spotlight many targets #737

Closed
wants to merge 1 commit into from

Conversation

Aliath
Copy link

@Aliath Aliath commented Sep 13, 2021

It breaks nothing but allow to pass many targets in target property. It takes the first element as a main one - all the computings such as scroll position are computed to this one.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 13, 2021

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 ecae293:

Sandbox Source
React Configuration

@gilbarbara
Copy link
Owner

Hey @Aliath
This is something that was proposed before and decided against...
Targeting multiple elements that aren't visible in the same scroll position would add a lot of confusion.

Thanks anyway.

@gilbarbara gilbarbara closed this Dec 19, 2021
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.

None yet

2 participants