react-native-material-menu icon indicating copy to clipboard operation
react-native-material-menu copied to clipboard

keyboard is hiding

Open Softkeydel opened this issue 5 years ago • 3 comments

On open menu keyboard is hiding. Please give some solutions so that both keyboard and menu can be visible at the same time

Softkeydel avatar Aug 05 '20 10:08 Softkeydel

I have the same problem, I'm trying to make an autocomplete field, I did set the button as text input, but every time I touch it, the keyboard is hiding. Next touch is triggering the text input, but the menu is hiding instead.

ionistrati avatar Mar 17 '21 10:03 ionistrati

I'm running into this same problem, it'd be great to see a fix :)

WesleyAC avatar Jun 17 '21 02:06 WesleyAC

This is caused by the underlying behaviour in the React Native Modal component. The solutions I can see here are either:

  • Change this library to not use a Modal.
  • Submit a PR to React Native adding a prop to allow showing modals without hiding the keyboard, and use that.

@mxck, is this something you're interested in fixing?

WesleyAC avatar Jun 17 '21 20:06 WesleyAC