Why can i click through a disabled button with ontouchstart event?

If im using onclick, my disabled button doesnt fire the onclick but if i use ontouchstart and i touch a disabled button, it still fires my ontouchstart event. Why is this and how can i prevent it?
3 Replies
Samathingamajig
is this web or react-native or something else?
cucaracha
cucaracha2y ago
Its a web app
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server