KyleGoddard / KGFloatingDrawer

A floating navigation drawer with an interesting animated presentation written in Swift.
MIT License
499 stars 79 forks source link

Popovers not showing #23

Closed sagarscript closed 2 years ago

sagarscript commented 8 years ago

Must start by saying awesome component! haven't seen anything that comes close!

However I have experienced some issues and also have a small suggestion that could make a big difference. I have found that I am unable to use popovers, for example when using a standard popover segue to show a popover (of course) on the center vc (I assume this is also the case for the left and right drawer), the popover is shown but its sub-views are not, the popover's view controller's background color is visible but any other views inc. labels, text fields etc are not visible. This only occurs once the KGFloatingDrawer is added, and once removed the issue no longer exists.

this also occurs when using the "KCFloatingActionButton" component: https://github.com/kciter/KCFloatingActionButton When i instantiate this as a UIViewController (CenterVC) SubView, the FloatingAction button is visible but when clicked the sub menu are not displayed yet the ViewController dims as normal so believe the submenus are hidden under the KGFloatingDrawer, this might also be the reason for the standard popover. it works fine instantiating the object as a UIWindow Subview, but when the menu opens it stays static (as its a UIWindow Subview) and this is not practical

I believe KGFloatingDrawer is ontop of all other views. is this something that can be fixed?

Also an awesome addition might be to add an override event to catch when the left or right drawer is closing, this would deliver a huge amount of control.