react-native-root-toast icon indicating copy to clipboard operation
react-native-root-toast copied to clipboard

Keyboard covers toast

Open AlirezaAkbarix opened this issue 6 years ago • 6 comments

When keyboard is up and toast position is bottom, it's covered by keyboard! Is it possible to come upon keyboard view?

AlirezaAkbarix avatar Apr 19 '18 05:04 AlirezaAkbarix

I have the same problem.

prancky avatar May 15 '18 04:05 prancky

@prancky But it seems no one cares! :)

AlirezaAkbarix avatar May 15 '18 06:05 AlirezaAkbarix

@AlirezaAkbarix i found a way to fix it. here is my solution. In button press event, i called this._passwordInput.blur(); "_passwordInput" is my input feild ref.

prancky avatar May 15 '18 06:05 prancky

maybe the only way to fix it to make keyboard down

Jinzm avatar Nov 12 '18 05:11 Jinzm

I think you can try to show the toast in the middle of the screen. In fact, I have already done this.

haven2world avatar May 14 '19 07:05 haven2world

Yes, it is possible to close the phone keyboard in React Native. To do this, you can use React Native's TouchableWithoutFeedback component along with the Keyboard.dismiss() function to close the keyboard.

luisgomesredicom avatar Oct 18 '23 17:10 luisgomesredicom