x-ui-design 0.8.33 → 0.8.34
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/index.esm.js +5 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/lib/hooks/usePosition.ts +6 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2614,6 +2614,11 @@ const usePosition = ({
|
|
|
2614
2614
|
const [showPlacement, setShowPlacement] = useState('');
|
|
2615
2615
|
const [_dropdownPosition, setDropdownPosition] = useState({});
|
|
2616
2616
|
const dropdownPosition = useCallback(() => {
|
|
2617
|
+
console.log({
|
|
2618
|
+
getPopupContainer,
|
|
2619
|
+
popupRef: popupRef.current,
|
|
2620
|
+
triggerRef: triggerRef.current
|
|
2621
|
+
});
|
|
2617
2622
|
if (!triggerRef.current) {
|
|
2618
2623
|
return {};
|
|
2619
2624
|
}
|