Skip to content

Commit

Permalink
fix(Splitter): cursor not reset when component unmount (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia authored Sep 12, 2024
1 parent e6485de commit 3f0f965
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 3f0f965

Please sign in to comment.