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

fix: remove drawer mask not lock scroll #472

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

Conversation

Copy link

vercel bot commented Jun 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drawer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 19, 2024 3:31am

@yoyo837
Copy link
Member

yoyo837 commented Jun 19, 2024

Test case please.

@yoyo837
Copy link
Member

yoyo837 commented Jun 19, 2024

看上去是对 #350 的逆向。

@crazyair
Copy link
Contributor

我觉得不应该逆向改回去,可以在目前的基础上优化,不如 Drawer 的坐标 right 可以根据滚动条锁定动态变化

@andybuibui
Copy link
Author

andybuibui commented Jun 19, 2024

看上去是对 #350 的逆向。

是的,逆向的。 同理如果modal 设置mask = false 情况下, body是否需要滚动? 我觉得根据container来判断似乎更加合理。
或者自己传递参数控制?

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.

Drawer 设置 mask false,在 Drawer 内打开 Modal,打开的 Drawer 位置会因为滚动消失而闪动
3 participants