uitextinput - My textinput in react native blurs directly after focus -


i have 2 forms in react-native. 1 of works perfectly, other (in component) has bug. textinputs in form keep blurring when getting focus.

the video made (see gif below) shows whenever click in input gets focus , blurs right after it.

the code input (now debugs):

<textinput value={group.name}     bluronsubmit={false}     onblur={() => console.log('i blur')}     onfocus={() => console.log('i focus')}     autofocus={true} style={styles.textinput} /> 

everytime click input focusses , blurs

i found answer... , confused why answer, here go:

apparently when render textinput inside of tabbarios component , set selected={true} on tab make impossible type textinputs. have no idea why. had on true in order not have click on tab every time while building views. guess set default differently :)


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -