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

getModalStyle top 计算问题 #19

Open
yiliang114 opened this issue Aug 18, 2021 · 2 comments
Open

getModalStyle top 计算问题 #19

yiliang114 opened this issue Aug 18, 2021 · 2 comments

Comments

@yiliang114
Copy link

两列布局,左侧全屏,右侧垂直方向可以滚动,guide 组件添加在右侧,这种情况下 Modal 的 top 时会被算上 scrollTop 的值,导致 Modal 定位飞出可视范围。 demo 待补充。

@yiliang114
Copy link
Author

image

问题应该在这里,mask 开启,右侧垂直滚动(但左侧不滚动), 拿了 document 作为 parentEl 导致定位计算错误

@caodonghai
Copy link

两布局,左侧,右侧全屏方向可以可以,导向,组件添加右侧右侧右侧,这添加右侧,这这种情况情况情况下下下下下下下下下下下的的的的的的的的的时时时上上上算算值值值值,导致。

两布局,左侧,右侧全屏方向可以可以,导向,组件添加右侧右侧右侧,这添加右侧,这这种情况情况情况下下下下下下下下下下下的的的的的的的的的时时时上上上算算值值值值,导致。

请问这个问题解决了吗

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

2 participants