@dataloop-ai/components 0.20.87 → 0.20.89
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/package.json
CHANGED
|
@@ -275,12 +275,13 @@ export default defineComponent({
|
|
|
275
275
|
return
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
const isAnchorElVisible =
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
278
|
+
const isAnchorElVisible =
|
|
279
|
+
props.triggerPercentage === 0
|
|
280
|
+
? true
|
|
281
|
+
: await CheckAnchorElVisibility(anchorEl.value, {
|
|
282
|
+
triggerPercentage: props.triggerPercentage
|
|
283
|
+
})
|
|
284
|
+
|
|
284
285
|
if (!isAnchorElVisible) {
|
|
285
286
|
hide()
|
|
286
287
|
return
|