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

autoLock for portal should be configurable #342

Open
vxsx opened this issue Jan 19, 2023 · 0 comments
Open

autoLock for portal should be configurable #342

vxsx opened this issue Jan 19, 2023 · 0 comments

Comments

@vxsx
Copy link

vxsx commented Jan 19, 2023

This line

autoLock={visible || animatedVisible}

injects css from rc-portal

https://github.com/react-component/portal/blob/37d489d896a82f5e25ffdac963ce77c863a9da17/src/useScrollLocker.tsx#L27-L30

and it's not possible to opt out of it. it would be great if it was possible

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