Skip to content

Commit

Permalink
chore: immediate default true
Browse files Browse the repository at this point in the history
  • Loading branch information
okxiaoliang4 committed May 11, 2023
1 parent 7192cce commit 1f368ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/useElementByPoint/index.ts
Expand Up @@ -32,7 +32,7 @@ export function useElementByPoint<M extends boolean = false>(options: UseElement
document = defaultDocument,
multiple,
interval = 'requestAnimationFrame',
immediate,
immediate = true,
} = options

const isSupported = useSupported(() => {
Expand Down

0 comments on commit 1f368ad

Please sign in to comment.