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

[Question]scroll-view为什么不是通过scroll-x和scroll-y来控制方向而是用样式 #2393

Open
yiescc opened this issue Oct 13, 2022 · 0 comments

Comments

@yiescc
Copy link

yiescc commented Oct 13, 2022

image

这个用样式flex来控制,这导致子元素的高度被挤压得和scroll-view一样,我们得自己给子元素加一个flex-shrink=0才行

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

1 participant