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

swipe to go back gesture for MDCAppBarViewController doesn't work. [MDCAppBarViewController]

Open atebitsy opened this issue 5 years ago • 2 comments

Reproduction steps

Steps to reproduce the behaviour:

Set MDCAppBarViewController as the root view controller Push a view controller. Swipe from the trailing edge toward the leading edge.

Expected behaviour

https://developer.apple.com/design/human-interface-guidelines/ios/user-interaction/gestures/

Actual behaviour

The Swipe from the trailing edge toward the leading edge to go back the previous controller doesn't work

Platform (please complete the following information)

  • Device: [e.g. IPHONE SE]
  • OS: [e.g. iOS14.2]

atebitsy avatar Nov 09 '20 14:11 atebitsy

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

I have managed to work around this issue following the steps noted in this commit (I think it is occurring as I have hidden the navigation bar in the view controller): https://github.com/material-components/material-components-ios/commit/1aadd7f468d1d00b7fcbc6c4f9979986229f3df7

intiocean avatar Apr 30 '21 11:04 intiocean