github clauderic/dnd-kit @dnd-kit/dom@0.1.8

latest releases: @dnd-kit/state@0.1.21, @dnd-kit/react@0.1.21, @dnd-kit/helpers@0.1.21...
4 months ago

Patch Changes

  • #1681 14dc059 Thanks @github-actions! - Cache repeated calls to getComputedStyles when reading properties that are unlikely to change frequently.

  • fcd9bb5 Thanks @clauderic! - Moved the CSS variables to the [data-dnd-root] element, which defaults to the document.body of the source element to avoid triggering MutationObserver callbacks every time the --dnd-translate CSS variable is updated.

  • #1681 93d3c7c Thanks @github-actions! - Replace innerText with textContent for better performance across multiple plugins. This change improves performance since textContent is generally more efficient than innerText as it doesn't trigger layout reflows and doesn't parse HTML entities.

  • 3c625d6 Thanks @clauderic! - Do not use cache when getting element animations to compute projected transforms.

  • Updated dependencies []:

    • @dnd-kit/abstract@0.1.8
    • @dnd-kit/collision@0.1.8
    • @dnd-kit/geometry@0.1.8
    • @dnd-kit/state@0.1.8

Don't miss a new dnd-kit release

NewReleases is sending notifications on new releases.