最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

reactjs - Doube Tap issue on iOS devices(inputs with type="file") - Stack Overflow

programmeradmin5浏览0评论

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>
发布评论

评论列表(0)

  1. 暂无评论