Skip to content

Commit

Permalink
fix(utils): prevent merge of popper key
Browse files Browse the repository at this point in the history
Resolves #1393
  • Loading branch information
benjamincanac committed Feb 21, 2024
1 parent f83cff7 commit 9f35297
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/runtime/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const defuTwMerge = createDefu((obj, key, value, namespace) => {
if (namespace === 'default' || namespace.startsWith('default.')) {
return false
}
if (namespace === 'popper' || namespace.startsWith('popper.')) {
return false
}
if (namespace.endsWith('avatar') && key === 'size') {
return false
}
Expand Down

0 comments on commit 9f35297

Please sign in to comment.