-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Not working with CSS modules #160
Labels
question
Further information is requested
Comments
oliveryasuna
changed the title
Not working with CSS module
Not working with CSS modules
Nov 21, 2023
Hi, it is common to put a moveable in the viewport. The reason it doesn't follow the scroll is because the moveable is not within the scroll area.
if you hide target rect line (blue line) or origin dot (red circle) hideDefaultLines={true}
origin={false} rootContainer is the correct way to use it in general. rootContainer={() => viewerRef.current?.getElement() || document.body} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environments
Description
I cannot seem to get Selecto working when class names are populated from a CSS module using Vite. Maybe I am missing something obvious? Thanks!
Also, I am still learning how to use your libraries. They are great! If you have a moment, could you please answer these questions?
rootContainer={viewerRef.current?.getElement() || document.body}
, but this feels messy.The text was updated successfully, but these errors were encountered: