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

使用视口宽高可能不会满足需求 #7

Open
Reeyc opened this issue Apr 18, 2023 · 2 comments
Open

使用视口宽高可能不会满足需求 #7

Reeyc opened this issue Apr 18, 2023 · 2 comments

Comments

@Reeyc
Copy link

Reeyc commented Apr 18, 2023

比如说我有顶部导航栏,或者侧边导航栏,大屏只在内容区展示,这时候计算的宽高可能会忽略了导航栏的宽度。能否加多一个extendWidthextendHeight用于开发者追加宽高,并入计算

@mianmalife
Copy link

+1

@Alfred-Skyblue
Copy link
Owner

由于很多因素会导致元素尺寸计算错误,所以暂时未打算支持此特性,如果您有好的解决方案,欢迎PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants