• frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    3 days ago

    So it was turning a scroll into a click, and only lefties tapped to scroll over that element? The article doesn’t actually explain the bug.

    • Pycorax@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      I think it was pretty clear but I do have experience building touch UI. It’s more that a button click was being detected with “touchStart” which made it so that when users accidentally start a scroll gesture with their finger on the button, it automatically triggered the button unintentionally. The proper way to do this would be to detect it with a touchEnd event.