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

Поділитися
Вставка
  • Опубліковано 14 лип 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

КОМЕНТАРІ • 10

  • @dev__adi
    @dev__adi 12 днів тому +4

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

  • @MattStone86
    @MattStone86 11 днів тому +2

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

  • @anlukinha8764
    @anlukinha8764 6 днів тому +1

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

  • @SamScheding
    @SamScheding 12 днів тому +4

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

  • @huang47tw
    @huang47tw 12 днів тому +1

    this is awesome, thanks for sharing

  • @itsdouges
    @itsdouges 12 днів тому +1

    I found this interesting

  • @serhii3194
    @serhii3194 12 днів тому +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  11 днів тому

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