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中的bug #118

Open
coderWeil opened this issue Jan 7, 2020 · 1 comment
Open

相对布局中的demo中的bug #118

coderWeil opened this issue Jan 7, 2020 · 1 comment

Comments

@coderWeil
Copy link

相对布局中的scroll&dock例子中,如果一开始滚动到悬浮状态,这时候横屏,会发现悬浮条的origin.x值有问题,如下:
Simulator Screen Shot - iPhone 11 Pro Max - 2020-01-07 at 14 06 22
同样的如果横屏状态下滚动到悬浮位置,切换到竖屏,初夏如下问题:
Simulator Screen Shot - iPhone 11 Pro Max - 2020-01-07 at 14 07 00
此问题必现的

@youngsoft
Copy link
Owner

这个问题是demo写的有问题,我修正一下DEMO即可,感谢提出问题。其实问题的关键还是在于demo中frame的设置出现问题了。

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