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

feat(react): expose viewportRef prop in SelectionArea #204

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rlesniak
Copy link

close: #193

Feel free to modify this PR.
Feature is backward compatible
I tested it in my project and look that it worked exactly I described in my stackblitz

@rlesniak
Copy link
Author

I also noticed wrong typing in react props, so fixed it
image

@simonwep
Copy link
Owner

Awesome, thank you! I'll take a closer look at the end of the week :)

@simonwep
Copy link
Owner

Hey, I'm a bit confused, the issue described in #193 is something in the vanilla / core package. How does this PR fix this issue?

@rlesniak
Copy link
Author

Ouu so my fault. Somehow I assumed that it is about react. Anyway, I had exact same issue in React. Fix here is working for me and I am satisfied that I can attach scrollable div to this lib and use it as earlier.

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.

Scrolling issues when inside a container that overflows
2 participants