LGPlusButtonsView icon indicating copy to clipboard operation
LGPlusButtonsView copied to clipboard

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

Open romanr opened this issue 10 years ago • 0 comments

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

romanr avatar Jan 04 '16 02:01 romanr