How to detect deselection of input file via JS in mobile browsers?

  • 0
    The problem is that the document.body.onfocus method works fine on desktop browsers, where you can track that the number of files is zero.
    But in mobile browsers, this fix does not work. How can you track file deselection in mobile browsers?
    JavaScript Jude Ho, Oct 26, 2019

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!