Patch Changes
-
#1681
14dc059
Thanks @github-actions! - Cache repeated calls togetComputedStyles
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 thedocument.body
of the source element to avoid triggeringMutationObserver
callbacks every time the--dnd-translate
CSS variable is updated. -
#1681
93d3c7c
Thanks @github-actions! - ReplaceinnerText
withtextContent
for better performance across multiple plugins. This change improves performance sincetextContent
is generally more efficient thaninnerText
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