materialize: dropdown.js still has the problem of misaligned taps
Dogfalo has fixed select.js
to resolve the problem of the recognizing position of tap on iOS 13. Meanwhile, dropdown.js still has a such problem.
I know this problem causes from the strange behavior of iOS 13 (and 14). https://developer.apple.com/forums/thread/120586
My current idea is to use'ontouchend' in document.documentElement
to check if the browser supports ontouchend and use this event if suppports. If not, then use the onclick event. Though it will work well, I’m not sure if I can spend time solving this, so I wrote it down in this issue anyway.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (2 by maintainers)
We can probably test on https://browserstack.com
You can get the current version of dropdown.js from the repo.
@DanielRuf https://github.com/Dogfalo/materialize/issues/6514#issuecomment-594657199 I found the simplest solution in this issue, but I have to check if this affects other parts carefully.