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

运行 demo 发现吸顶的偏移量无效。 #76

Open
uclort opened this issue May 30, 2018 · 3 comments
Open

运行 demo 发现吸顶的偏移量无效。 #76

uclort opened this issue May 30, 2018 · 3 comments

Comments

@uclort
Copy link

uclort commented May 30, 2018

extraOffset设置无效,发现是 TangramView.m 类中 691 行的代码

if (topOffset >= ((TangramStickyLayout *)layout).extraOffset) {
     ((TangramStickyLayout *)layout).extraOffset = 0.f;
}
 topOffset += (((TangramStickyLayout *)layout).extraOffset + layout.vv_height);

这里把 extraOffset 置为 0 了,请问是否逻辑错误?

@uclort
Copy link
Author

uclort commented May 30, 2018

还有一个问题,请问如何关闭吸顶和浮窗的弹性效果,现在滑动的话,吸顶和浮窗是有轻微的弹性的,如何取消呢?

@uclort
Copy link
Author

uclort commented May 30, 2018

iPhone 6,11.3.1。

@a455455b
Copy link

#80 中已修复

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