react-native-keyboard-accessory icon indicating copy to clipboard operation
react-native-keyboard-accessory copied to clipboard

Content "jumping" (and perhaps a solution)

Open ewal opened this issue 4 years ago • 1 comments

Hey and thanks for the package. I was implementing the component today but ran into some issues with content “jumping” inside the toolbar view when using a multiline input. Check out the gifs below.

Jumping sub views jumpy

!Jumping sub views no-jumpy

I messed around a bit with the code and found a solution where I simply removed setting the height property, figured it could be solved styled props instead, and it it seems to work just fine. Here’s a link to the branch (commit of interest). 
I was thinking about creating a pr but then I thought that I’ve might have missed a scenario where setting the height was needed so just want to check here first before submitting.

Cheers

ewal avatar Feb 02 '21 00:02 ewal

Ps, low gif quality = borders missing etc.

ewal avatar Feb 02 '21 00:02 ewal