In Android Browser link does not always execute onClick causing focus instead

后端 未结 5 2220
梦如初夏
梦如初夏 2021-02-09 07:51

I am trying to program a very standard JS behavior for a link using an HREF onClick handler, and I am facing a strange problem caused by what I believe to be focus/touch mode be

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-09 08:35

    Try getting rid of the href attribute and see if that helps. For example, this works when viewed with the WebView component:

    Update Location

提交回复
热议问题