material-components-ios icon indicating copy to clipboard operation
material-components-ios copied to clipboard

[MDCBottomAppBarView] A negative floatingButtonVerticalOffset makes bottom toolbar droop

Open zakdances opened this issue 5 years ago • 1 comments

Giving the floating button on MDCBottomAppBarView a negative offset will cause the right side of the bar to droop, almost like it's melting. Look at image attachment.

Reproduction steps

Create a MDCBottomAppBarView and give it's floatingButton a floatingButtonVerticalOffset value of negative 30 or so, like

myToolbar.floatingButtonVerticalOffset = -32

Expected behavior

The toolbar should not having any slanted lines and be symmetrical.

Actual behavior

Toolbar is slanted on one side.

Platform (please complete the following information)

  • Device: [e.g. iPhone 11 Max]
  • OS: [e.g. iOS13.4.1]

IMG_1164

zakdances avatar May 14 '20 19:05 zakdances

The title doesn't have a [Component] prefix.