Skip to content

Commit

Permalink
fix(Splitter): cursor not reset when component unmount
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Sep 12, 2024
1 parent ac2772a commit 1454a5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/radix-vue/src/Splitter/utils/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export function registerResizeHandle(
ownerDocumentCounts.set(ownerDocument, count - 1)

updateListeners()
resetGlobalCursorStyle()

if (count === 1)
ownerDocumentCounts.delete(ownerDocument)
Expand Down

0 comments on commit 1454a5f

Please sign in to comment.