-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Describe the bug
I was trying to add a custom threshold while using useElementVisibility and looking at the source code I discovered that from the options parameter is not event imported (see here https://github.com/vueuse/vueuse/blob/84965f53edc73b221804de91e565ffdf71d1e28d/packages/core/useElementVisibility/index.ts#L21C8-L21C8)
Is there a motivation? I think it's not documented and I wasted some time trying to figure out why it was not working :/
Reproduction
https://stackblitz.com/edit/github-wmjdj9?file=app.vue
System Info
not importantUsed Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
No labels