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

Discussion: injected section elements #1

Open
andrei9669 opened this issue Jan 20, 2025 · 0 comments
Open

Discussion: injected section elements #1

andrei9669 opened this issue Jan 20, 2025 · 0 comments

Comments

@andrei9669
Copy link

Hey, saw your post on reddit and thought it might look promising so I took it for a test run. What I discovered, which also kinda makes sense, is that you are injecting section elements in order to create a place where you can do the intersection observer. Is that correct? if it is so, the it makes this really hard to use because I have my own section components that are styled and a bit of logic as well. which creates a situation with 2 sections back to back. Do you Think there would be a way to somehow provide our own custom section element with some required API, using ref with conjunction of useImperativeHandle to send the logic where needed.

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

No branches or pull requests

1 participant