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

Multiple Textfields in a row getting wrong touches

Open bhavukjain1 opened this issue 6 years ago • 7 comments

ezgif com-video-to-gif

I've added two textfields in a row here and this is the behaviour. On clicking the first textfield, it selects the second one. But if a placeholder is added, it works fine. I'm not able to figure out the cause of this problem. I've used flexDirection:'row' to add these two textfields.

Any possible fix for this problem?

bhavukjain1 avatar Nov 09 '19 22:11 bhavukjain1

any solution for this

shashinbhayani avatar Dec 15 '19 11:12 shashinbhayani

use this magic prop

labelTextStyle={{ position: 'absolute', left: '100%' }}

sharifhh avatar Jan 13 '20 15:01 sharifhh

@sharifhh thank you very much. You saved me.

tuledev avatar Jan 16 '20 03:01 tuledev

@sharifhh thanks!

felipeborba-dev avatar Apr 01 '20 17:04 felipeborba-dev

@sharifhh You God

sathishu37 avatar Jun 17 '20 18:06 sathishu37

wow! thanks alot!!!

use this magic prop

labelTextStyle={{ position: 'absolute', left: '100%' }}

bbaoNg97 avatar Jul 30 '20 06:07 bbaoNg97

use this magic prop

labelTextStyle={{ position: 'absolute', left: '100%' }}

Added this prop with same values in all fields for the row, and it worked.

Thanks!!!

pankti16 avatar Jan 29 '21 06:01 pankti16