admin管理员组

文章数量:1394585

I have tested this thing. There is a div element in my application with two inputs(type="file") inside. There are no any styles or libraries. Only this div and two inputs inside. I don’t understand why, when I tap on one of the inputs and then tap on another one, sometimes the second input doesn’t open the file upload dialog on the first try. Please watch the video in the link — you’ll see what I mean. Does anyone know how to fix this issue? It happens only on iOS touch devices Here is the link to the video -

<div style={{ display: 'flex', gap: '16px', marginTop: '20px', marginLeft: '20px' }}>
  <input type="file" />
  <input type="file" />
<div>

本文标签: reactjsDoube Tap issue on iOS devices(inputs with typequotfilequot)Stack Overflow