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

perf(pagewrapper): 优化PageWrapper的高度自适应表现,适应外层包装dom的情况。 #792

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

noahlann
Copy link

perf(pagewrapper): 优化PageWrapper的高度自适应表现,适应外层包装dom的情况。

使用 getViewportOffset 的 bottomIncludeBody 代替 useContentViewHeight

基于PageWapper的顶端到底端距离进行计算(与BasicTable使用同样的方案)

可适应PageWrapper外层包装dom且添加padding/margin的情况,同时修复了page's footerlayout's footer同时开启时的错误情况。

@anncwb anncwb merged commit 4d8e398 into vbenjs:main Jun 23, 2021
@noahlann noahlann deleted the feat-pagewrapper branch June 24, 2021 02:02
@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants