react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

background flash when show/hide keyboard in android dialog

Open roseaim opened this issue 8 years ago • 7 comments

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

roseaim avatar Mar 12 '18 05:03 roseaim

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 :)

roseaim avatar Mar 12 '18 05:03 roseaim

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.

TomAtterton avatar May 29 '18 10:05 TomAtterton

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.

stale[bot] avatar Jul 13 '18 11:07 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Jul 20 '18 12:07 stale[bot]

same issue here. Is there any solution?

binbinla avatar Aug 13 '18 11:08 binbinla

@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.

L-Yeiser avatar Sep 24 '18 22:09 L-Yeiser

Same here version 7

rendomnet avatar Oct 25 '20 03:10 rendomnet