Skip to content

Commit

Permalink
fix(useResizeObserver): do not watch deep to avoid cicular calls (vue…
Browse files Browse the repository at this point in the history
…use#3753)

Co-authored-by: birdxiao <birdxiao@tencent.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
  • Loading branch information
3 people authored and noook committed Mar 26, 2024
1 parent c47c404 commit d2bb949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/useResizeObserver/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function useResizeObserver(
_el && observer!.observe(_el, observerOptions)
}
},
{ immediate: true, flush: 'post', deep: true },
{ immediate: true, flush: 'post' },
)

const stop = () => {
Expand Down

0 comments on commit d2bb949

Please sign in to comment.