Patch Changes
-
#1903
7260746Thanks @clauderic! - Fixed CSS cascade layer ordering so that the popover-reset styles injected by the Feedback plugin no longer override styles from CSS frameworks that use cascade layers (such as Tailwind CSS v4).The
@layerblock is now nameddnd-kitand injected via a<style>element prepended to<head>for document roots, ensuring it is declared first in the cascade with the lowest priority. Shadow DOM roots continue to useadoptedStyleSheets.If needed, consumers can explicitly control the layer ordering:
@layer dnd-kit, base, components, utilities;
-
Updated dependencies []:
- @dnd-kit/abstract@0.3.2
- @dnd-kit/collision@0.3.2
- @dnd-kit/geometry@0.3.2
- @dnd-kit/state@0.3.2