background flash when show/hide keyboard in android dialog
Issue Description
the issue occurred in android dialog used Navigation.showModal() method
Steps to Reproduce / Code Snippets / Screenshots
video feedback: https://drive.google.com/open?id=1dTZwwfQD0VSVqWmvvDpToO0m1QpBANj-
Environment
- React Native Navigation version: 1.1.396
- React Native version: 0.51.0
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Device. 7.0, Both
I fixed it by using SOFT_INPUT_ADJUST_PAN instead of SOFT_INPUT_ADJUST_RESIZE in the following file. android/app/src/main/java/com/reactnativenavigation/controllers/Modal.java Line 163 window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); I am open to better solutions in wix team :)
https://github.com/wix/react-native-navigation/pull/1957
This PR would also solve your problem, but no one seems to be picking it up.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
The issue has been closed for inactivity.
same issue here. Is there any solution?
@binbinla we used a bit of a JS hack to get around this issue. Basically we animate a white underlay up on the screen as the modal is pushed up.
Same here version 7