x-ui-design 0.8.53 → 0.8.55

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 CHANGED
@@ -5395,7 +5395,7 @@ const Dropdown = ({
5395
5395
  const onTriggerClick = e => {
5396
5396
  e.preventDefault();
5397
5397
  e.stopPropagation();
5398
- if (popupRef.current && !popupRef.current.contains(e.target) && triggerRef.current && !triggerRef.current.contains(e.target) && triggers.includes('click')) {
5398
+ if (triggers.includes('click')) {
5399
5399
  setOpenInternal(!open);
5400
5400
  }
5401
5401
  };