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

Sheet.Scroller in a shadow root doesn't scroll #176

Open
alexkates opened this issue Nov 27, 2024 · 2 comments
Open

Sheet.Scroller in a shadow root doesn't scroll #176

alexkates opened this issue Nov 27, 2024 · 2 comments

Comments

@alexkates
Copy link

Please find an example in my fork here: https://github.com/alexkates/react-modal-sheet/blob/scrollable-shadow-root-bug/example/components/ScrollableInShadowRoot.tsx

When placing a Sheet with a Scroller inside of an open shadow root, the scroller does not work as expected. It simply doesn't scroll.

Steps to reproduce:

  1. Checkout my fork linked above.
  2. Install and run npm run dev from the root.
  3. cd example and run npm run dev -- --host to host the example app publicly.
  4. Access the external IP from an iOS simulator.
  5. Open the new "Scrollable in shadow root" example
  6. Attempt to scroll.
Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2024-11-27.at.14.28.26.mp4
@alexkates
Copy link
Author

@alexkates
Copy link
Author

I've opened a pull request with a fix for this #179

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