Post

TIL: `onpointerup` to make mobile-only click event. On mobile w/ limited horizontal space, I want to implement tapping on the row to show extra info. But on desktop with lots of whitespace, I prefer dedicated buttons. → Solution: Mobile-only clicking with `onpointerup` and `event.pointerType`

Don't use `onpointerdown` though, because that will also gets trigger when scrolling, which is unexpected and undesirable

0 reposts0 likes

No replies yet.