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

VirtualView复用时内部布局错乱 #108

Open
lllhhh opened this issue Apr 15, 2021 · 3 comments
Open

VirtualView复用时内部布局错乱 #108

lllhhh opened this issue Apr 15, 2021 · 3 comments

Comments

@lllhhh
Copy link

lllhhh commented Apr 15, 2021

当采用VirtualView布局组件时,上下滚动复用组件复用时出现内部布局错乱。
组件布局父子关系: VHLayout -> Page -> Grid

正常布局:
image
错乱布局:
image

@ljunb
Copy link

ljunb commented May 26, 2021

可能是布局方式有关,这边也出现类似情况。
比如组件中A元素设置了layoutMarginRight,其右边有一个元素B。一开始布局是正常的,滑动后layoutMarginRight就失效了。后来改用在元素B中设置layoutMarginLeft,就不会有问题

@lllhhh
Copy link
Author

lllhhh commented May 30, 2021

layoutMarginRight、layoutMarginLeft左右都设置了,还是不起作用。Tangram在复用时候还会遇到其他问题,很是折磨人。

@ljunb
Copy link

ljunb commented May 31, 2021

KPI项目吧,都N久没维护了

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