Skip to content

Commit

Permalink
fix(compat): fix compat handler of draggable
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchangtao committed Nov 20, 2024
1 parent 6eb29d3 commit 16865fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/modules/attrs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function compatCoerceAttr(
): boolean {
if (isEnumeratedAttr(key)) {
const v2CoercedValue =
value === null
value == null || value === false || value === 'false'
? 'false'
: typeof value !== 'boolean' && value !== undefined
? 'true'
Expand Down

0 comments on commit 16865fb

Please sign in to comment.