Yalantis/Side-Menu.iOS

Doesn't work if first viewcontroller is child of navigationcontroller

nitishrana28 opened this issue · 1 comments

# Report a bug :

I have a navigationController at the beginning. On adding menu button on the navigationController's first viewController, the animation takes place in a full screen.
The example shown makes a simple viewController as the first viewController.

# Expectations :

It should behave in the same way as it does in a simple viewController

## What happened instead?

Attached screenshot :

screen shot 2017-12-25 at 10 59 33 pm
screen shot 2017-12-25 at 10 59 39 pm


To confirm, I used menu button in another viewController(which was not embedded in UINavigationController), and it worked fine.

### Your Environment

  • Version of the component: insert here
  • Swift version: 4.0.3
  • iOS version: 11.2
  • Device: iPhone 5s
  • Xcode version: 9.2

I ran the latest pods in my project

Please present modally. It is working as expected.
This is not an issue.