Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATTR_ENUMERATED_COERCION coerces draggable="false" to draggable="true" #12444

Open
decademoon opened this issue Nov 20, 2024 · 1 comment · May be fixed by #12445
Open

ATTR_ENUMERATED_COERCION coerces draggable="false" to draggable="true" #12444

decademoon opened this issue Nov 20, 2024 · 1 comment · May be fixed by #12445
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: v2 compat

Comments

@decademoon
Copy link

decademoon commented Nov 20, 2024

Vue version

3.5.13

Link to minimal reproduction

https://jsfiddle.net/asdot1u7/

Steps to reproduce

Run the fiddle.

What is expected?

draggable="false" is set on the element.

What is actually happening?

draggable="true" is set on the element.

System Info

No response

Any additional comments?

Vue version Template Rendered DOM Fiddle
2.7 draggable="false" draggable="false" fiddle
3 draggable="false" draggable="false" fiddle
3 compat draggable="false" draggable="true" (incorrect) fiddle
@edison1105 edison1105 added 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: v2 compat labels Nov 20, 2024
@Kanade-Lu
Copy link

Kanade-Lu commented Nov 20, 2024

:draggable="false" 

will work as expected

@yangxiuxiu1115 yangxiuxiu1115 linked a pull request Nov 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: v2 compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants