DWQA QuestionsCategory: ProgramWhy don't you click input on the H5 page on the mobile phone?
xzzz asked 6 months ago

canvasThe animation has not finished loading, clickinputCan pop up the keyboard, etccanvasAfter it’s fully loaded, you can’t click. It’s not good to write about touch events

$('#input').on('touchstart', function(){

What’s the reason? Thank you very much. T_T

kikong replied 6 months ago

Instead of using canvas animation, using div mask, combined with setTimeout function to simulate this process, see if it is triggered?

1 Answers
xzzz answered 6 months ago

It should be used$(this).focus()