x-ui-design 0.9.87 → 0.9.88

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.
@@ -249,15 +249,13 @@ export const usePopupPosition = ({
249
249
  };
250
250
  }, [open, targetRef, listenPopoverPossitions, calculatePosition]);
251
251
 
252
- const showPopupStyle = open && (popupPosition.hasOwnProperty('top') || popupPosition.hasOwnProperty('left'))
253
-
254
252
  return {
255
253
  _placement,
256
- popupStyle: showPopupStyle ? {
254
+ popupStyle: {
257
255
  zIndex: 10000,
258
256
  position: "absolute",
259
257
  opacity: Object.keys(popupPosition).length ? 1 : 0,
260
258
  ...popupPosition
261
- } : {}
259
+ }
262
260
  };
263
261
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-ui-design",
3
- "version": "0.9.87",
3
+ "version": "0.9.88",
4
4
  "license": "ISC",
5
5
  "author": "Gabriel Boyajyan",
6
6
  "main": "dist/index.js",