Open nicolaslazzos opened 3 years ago
Is there any workaround for this issue for v1.2.0 + Expo SDK42? I am facing issues getting v2.0.0 to start with Expo SDK 42 to will need to stick to v1.2.0 till the other issue gets resolved.
@gpsolarco you got this issue on mobile?
Both Mobile and Web. My current RN code base is still class based but that should not be an issue I think.
Any update on this issue? thanks!
On the
hide()
method, when themenuState
is being setted asHIDDEN
, this was triggering the_onMenuLayout()
method, so themenuState
was immediately being setted toANIMATING
, which was causing themodalVisible
variable to betrue
. So, though this was an unwanted behavior, in mobile it wasn't showing, but in web, because of the modal wasn't closing, it stayed and forced you to click on the screen again so that it closed after the menu disappeared.I simply added that when the
menuState
isHIDDEN
, the_onMenuLayout()
method ignores that trigger.