Menu does not avoid intersecting keyboard on Android
See original GitHub issueCurrent behaviour
When a Menu
is created near the bottom of the app, while the keyboard is expanded, the Menu
opens behind the keyboard.
Expected behaviour
I expect the menu to open upwards instead.
Code sample
I don’t have one that’s easy to run, unfortunately 😦
Screenshots (if applicable)
What have you tried
I looked at the documented props, and did not find any that controlled the direction that the Menu
attempts to open in.
Your Environment
software | version |
---|---|
ios or android | Android 11 |
react-native | 0.63.4 |
react-native-paper | ^4.8.1 |
node | N/A |
npm or yarn | yarn |
expo sdk | N/A |
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Hide Soft Keyboard When User Touches the Dropdown ...
1 Answer 1 · The soft keyboard still shows even after touching the drop-down menu. · You need to intercept an action on...
Read more >Fix problems with Gboard - Android
If Gboard switches to another keyboard, you can switch it back. On your Android phone or tablet, open any app that you can...
Read more >Menu resource
A menu resource defines an application menu (Options Menu, Context Menu, or submenu) that can be inflated with MenuInflater .
Read more >Toolbar | Android Developers
An action menu . The menu of actions will pin to the end of the Toolbar offering a few frequent, important or typical...
Read more >Debug your layout with Layout Inspector and ...
Changing a global setting may cause an activity restart. To avoid an activity restart, you can either change the settings in Android Studio...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think there is a need to go through the
Menu
layout’s calculation and take into account the height of the keyboard when it is opened.Any solution to this issue?