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

Buttons offset should automatically adjust according to observed scroll view's scroll insets #22

Open
romanr opened this issue Jan 4, 2016 · 0 comments

Comments

@romanr
Copy link
Contributor

romanr commented Jan 4, 2016

When it's added to TabBar, the scrollview extends under tab bar but it's scrollbars inset is within the viewport above TabBar.

image

Scrollbar does not extend under the TabBar. Scrollable area inset is known, PlusButton is expected to appear in that inset area.

Yes, we could fix it by setting:

self.plusButtonsView.offset = CGPointMake(0.f, -50.f);

But this is merely a workaround and may be broken in the future when different device and tabBar sizes introduced.

Expected: PlusButtons adjust inset according to observed scroll views scroll insets:
image

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