material-components-ios
material-components-ios copied to clipboard
swipe to go back gesture for MDCAppBarViewController doesn't work. [MDCAppBarViewController]
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]
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