@g4rcez/components 2.2.7 → 2.2.9
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/dist/components/form/autocomplete.jsx +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -29673,7 +29673,7 @@ const AE = dn([null, () => {
|
|
|
29673
29673
|
padding: 10,
|
|
29674
29674
|
elementContext: "reference",
|
|
29675
29675
|
apply($) {
|
|
29676
|
-
const he = $.elements.floating.querySelector("ul")?.getBoundingClientRect().height || 0, be = ol(G.reference.current, window.innerHeight), Re = Math.min(he < Zo ? be : he, be, $.availableHeight), Fe = B.length === 0 ? Zo : Math.min(Re, be, he), Le = `${v.current
|
|
29676
|
+
const he = $.elements.floating.querySelector("ul")?.getBoundingClientRect().height || 0, be = ol(G.reference.current, window.innerHeight), Re = Math.min(he < Zo ? be : he, be, $.availableHeight), Fe = B.length === 0 ? Zo : Math.min(Re, be, he), Le = `${v.current?.getBoundingClientRect().width || be}px`;
|
|
29677
29677
|
Object.assign($.elements.floating.style, { width: Le, maxWidth: Le, height: Fe });
|
|
29678
29678
|
}
|
|
29679
29679
|
})
|