Defeating the final boss of drag and drop bugs with the honey pot fix

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • All browsers have an extremely painful drag and drop bug that can cause elements that the user is not currently over to be incorrectly ‘entered into’ with mouse events while a drag is occurring. The “honey pot fix” is a novel workaround for this bug.
    - Pragmatic drag and drop: github.com/atlassian/pragmati...
    - Chrome bug report: issues.chromium.org/issues/41...
    - Twitter: x.com/alexandereardon

Komentáře • 13

  • @dev__adi
    @dev__adi Před 26 dny +4

    nicely explained. I have a feeling that I'll be using this honeypot fix in various other browser bugs too

  • @JoelUngerAtlassian
    @JoelUngerAtlassian Před 6 dny +1

    Diabolical fix! I love tricking browsers.

  • @MattStone86
    @MattStone86 Před 25 dny +3

    Cool technique, thanks for sharing! I love hushed and excited delivery of "confidential knowledge" 🤣

  • @anlukinha8764
    @anlukinha8764 Před 20 dny +1

    Mouth noises! Once I noticed them, I couldn't hear anything else. Great content btw.

  • @SamScheding
    @SamScheding Před 26 dny +4

    Good stuff! Love how much more elegant the second fix is compared to the first

  • @hrafnkellpalsson
    @hrafnkellpalsson Před 7 dny

    Thoroughly enjoyed this! 🍯

  • @huang47tw
    @huang47tw Před 26 dny +1

    this is awesome, thanks for sharing

  • @itsdouges
    @itsdouges Před 26 dny +1

    I found this interesting

  • @serhii3194
    @serhii3194 Před 26 dny +1

    It is insane how browsers are not fit for applications development, having issues that never existed or fixed long ago in native OS app UI sdk's

    • @alexandereardon
      @alexandereardon  Před 26 dny

      All platforms have their rough spots, and I am confident native UI SDK's do as well 😅