@indico-data/design-system 2.28.0 → 2.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/floatUI/FloatUI.tsx +2 -2
package/lib/index.esm.js
CHANGED
|
@@ -21112,7 +21112,7 @@ function FloatUI({ children, ariaLabel, isOpen: controlledIsOpen, setIsOpen: con
|
|
|
21112
21112
|
reference: referenceElementRef.current,
|
|
21113
21113
|
} }, floatingOptions));
|
|
21114
21114
|
useClickOutside(floatUIContentRef, () => setIsOpen(false));
|
|
21115
|
-
return (jsxs(
|
|
21115
|
+
return (jsxs(Fragment, { children: [jsx("div", { ref: referenceElementRef, onClick: () => setIsOpen(!isOpen), children: trigger }), isOpen && (jsx("div", {
|
|
21116
21116
|
// Used to position the floating element relative to the reference element
|
|
21117
21117
|
ref: refs.setFloating, style: {
|
|
21118
21118
|
position: strategy,
|