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

ConsecutiveScrollerLayout嵌套ConsecutiveViewPager2嵌套ConsecutiveScrollerLayout 后吸顶会失效 #306

Open
SkywardSky opened this issue Apr 2, 2024 · 1 comment

Comments

@SkywardSky
Copy link

Snipaste_2024-04-02_23-02-54
详细的布局结构如图所示。

第二个ConsecutiveScrollerLayout中的直属的子view设置吸顶会失效。

@SkywardSky
Copy link
Author

已解决,解决方案是:给第二个ConsecutiveScrollerLayout动态设置stickyOffset,而值是第一个ConsecutiveScrollerLayout的已经处于常驻吸顶的所有view的总高度,设置后第二个ConsecutiveScrollerLayout的吸顶就正常展示了。

请问库是否可以添加支持自动识别高度然后自动设置

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