Replies: 1 comment 2 replies
-
Shouldn't be necessary. What kind of browser are you using? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am struggling to get selection working inside a
overflow: scroll
container.Relevant code: https://codesandbox.io/s/viselect-react-forked-50x7n?file=/src/App.tsx:899-1034
Live demo: https://50x7n.sse.codesandbox.io/
Here is what I get:
https://user-images.githubusercontent.com/1047512/137693145-85b984f1-de76-48b4-b9d4-4f23b9e7598a.mov
What I would like to achieve is that position of the selection area would be fixed inside the scrolling container and auto scroll would also work.
I tried changing position of the selection area parent (
this._area
) fromfixed
, tostatic
,absolute
, andrelative
, but the result was always broken.Is what I am trying to achieve even possible with this library?
Beta Was this translation helpful? Give feedback.
All reactions