React-native-navigation: [v2][iOS] Overlay displaying over alert

Created on 14 Mar 2019  路  11Comments  路  Source: wix/react-native-navigation

Hi @yogevbd

Issue Description

This issue still happening on latest code

Steps to Reproduce / Code Snippets / Screenshots


image

Related to

Presenting alerts on top most window presented #4241


Environment

  • React Native Navigation version: 2.13.1
  • React Native version: 0.57.7
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): Simulator
iOS

Most helpful comment

https://github.com/wix/react-native-navigation/commit/e9ca247a524e474daf3ccf56989289ce679fc063 Adds an option which will make your overlay becomes the key window, I'm still not sure about the correct naming for this option but adding it to your overlay options will solve this issue:

options: {
  overlay: {
    handleKeyboardEvents: true
  }
}

All 11 comments

Experiencing the same with 2.12.0.

Same issue here with the latest version.

Same problem here

Same here :(

Also having the same issue on latest version

@yogevbd adding

20| [overlayWindow makeKeyAndVisible];

inside RNNOverlayManager.m solved it for me

@yogevbd I've tried that, but if you add that line then the following issue arises

https://github.com/wix/react-native-navigation/issues/3892

Same problem here as @pribeh reported, do someone know a way to fix it, but also be able to use Text Inputs?

I鈥檝e switched to using modals with a transparent background. Works well for me.

https://github.com/wix/react-native-navigation/commit/e9ca247a524e474daf3ccf56989289ce679fc063 Adds an option which will make your overlay becomes the key window, I'm still not sure about the correct naming for this option but adding it to your overlay options will solve this issue:

options: {
  overlay: {
    handleKeyboardEvents: true
  }
}

@yogevbd Thanks!

Was this page helpful?
0 / 5 - 0 ratings