@v-c/trigger 1.0.10 → 1.0.11

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -117,6 +117,9 @@ function generateTrigger(PortalComponent = Portal) {
117
117
  } else uniqueContext?.hide(props.mouseLeaveDelay || 0);
118
118
  });
119
119
  const openRef = shallowRef(mergedOpen.value);
120
+ watch(mergedOpen, () => {
121
+ openRef.value = mergedOpen.value;
122
+ });
120
123
  const internalTriggerOpen = (nextOpen) => {
121
124
  if (mergedOpen.value !== nextOpen) {
122
125
  internalOpen.value = nextOpen;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@v-c/trigger",
3
3
  "type": "module",
4
- "version": "1.0.10",
4
+ "version": "1.0.11",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"