Skip to content

Commit d40c5c1

Browse files
Merge pull request #233 from mendix/moo/MOO-2298-keyboard-hiding-the-textbox-on-android-fix
[MOO-2298] Fixed keyboard hiding textinputs on android
2 parents 88379ac + 9660f46 commit d40c5c1

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55

66
## [Unreleased]
77

8+
### Fixes
9+
10+
- We have fixed the textinputs hiding behind on-screen keyboard.
11+
812
### Changes
913

1014
- Migrated from react-native-push-notification to @notifee/react-native for better new architecture compatibility and enhanced push notification features

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode|fontScale"
9595
android:launchMode="singleTask"
9696
android:screenOrientation="user"
97-
android:windowSoftInputMode="stateHidden"
97+
android:windowSoftInputMode="adjustPan"
9898
android:exported="true">
9999
<intent-filter>
100100
<action android:name="com.mendix.mendixnative.action.START"/>

android/app/src/production/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode|fontScale"
1111
android:launchMode="singleTask"
1212
android:screenOrientation="user"
13-
android:windowSoftInputMode="stateHidden"
13+
android:windowSoftInputMode="adjustPan"
1414
android:exported="true">
1515
<intent-filter>
1616
<action android:name="com.mendix.mendixnative.action.START" />

android/app/src/production/java/com/mendix/developerapp/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class MainActivity : AppCompatActivity(), DefaultHardwareBackBtnHandler, LaunchS
8989
preferences = AppPreferences(applicationContext)
9090
devAppPreferences = getPreferences(MODE_PRIVATE)
9191

92-
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE)
92+
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN)
9393

9494
setupHomeViewModel()
9595
setupNavigation()

0 commit comments

Comments
 (0)