-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Open
Description
Vue version
3.5.22
Link to minimal reproduction
Steps to reproduce
add element with a single " attribute like this
<div ">hi</div>
the error only happens for me on my mobile phone (last chrome) on desktop it's not happen
Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': '"' is not a valid attribute name.
at patchAttr (vue.runtime.esm-browser.js:11228:10)
at patchProp (vue.runtime.esm-browser.js:11401:5)
at mountElement (vue.runtime.esm-browser.js:7069:11)
at processElement (vue.runtime.esm-browser.js:7016:7)
at patch (vue.runtime.esm-browser.js:6882:11)
at ReactiveEffect.componentUpdateFn [as fn] (vue.runtime.esm-browser.js:7513:11)
at ReactiveEffect.run (vue.runtime.esm-browser.js:542:19)
at setupRenderEffect (vue.runtime.esm-browser.js:7641:5)
at mountComponent (vue.runtime.esm-browser.js:7415:7)
at processComponent (vue.runtime.esm-browser.js:7367:9)
What is expected?
no error on both devices, or show error on both devices
What is actually happening?
error on mobile, no error on desktop
System Info
Any additional comments?
No response