x-ui-design 0.8.23 → 0.8.24
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 +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/Popover/Popover.tsx +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5610,7 +5610,7 @@ const Popover = ({
|
|
|
5610
5610
|
return /*#__PURE__*/cloneElement(child, {
|
|
5611
5611
|
key: index,
|
|
5612
5612
|
...childProps,
|
|
5613
|
-
...(index === 0 ? {
|
|
5613
|
+
...(index === 0 || !triggerRef.current ? {
|
|
5614
5614
|
ref: triggerRef,
|
|
5615
5615
|
style,
|
|
5616
5616
|
className: `${prefixCls}-wrapper-content`
|