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

[Overlay]当没有给body设置padding时,偶现padding去不掉 #2533

Closed
youluna opened this issue Dec 15, 2020 · 1 comment
Closed

[Overlay]当没有给body设置padding时,偶现padding去不掉 #2533

youluna opened this issue Dec 15, 2020 · 1 comment
Assignees
Labels
2.x will be fixed in Design 2.0

Comments

@youluna
Copy link
Member

youluna commented Dec 15, 2020

Component

Overlay

Steps to reproduce

image
上图中的ne() 就是 hasScroll(),它是用来判断当前页面是否有滚动条的,出现dialog等的情况下已经没有滚动条了,这一判断条件可以直接去掉
image

image

@bindoon
Copy link
Member

bindoon commented Nov 25, 2021

fixed in @alifd/next@1.25 with api v2

@bindoon bindoon closed this as completed Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x will be fixed in Design 2.0
Projects
None yet
Development

No branches or pull requests

2 participants