We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.0.3
https://codesandbox.io/s/long-pond-gbdnl?file=/src/App.vue
Insert an image via the img tag and specify width or height as null or undefined.
<img :width="null" :height="null" src="./assets/logo.png" /> <img :width="undefined" :height="undefined" src="./assets/logo.png" />
Attributes width and height have not been rendered according with the Vue 3 documentation - https://v3.vuejs.org/guide/template-syntax.html#attributes
Attributes width and height have been rendered with 0 value.
The text was updated successfully, but these errors were encountered:
The attribute should be removed with nullish values. This would also make it consistent with Vue 2
Sorry, something went wrong.
fix(runtime-dom): attribute should be removed with nullish values (#2679
fb6b9f8
) fix #2677
Successfully merging a pull request may close this issue.
Version
3.0.3
Reproduction link
https://codesandbox.io/s/long-pond-gbdnl?file=/src/App.vue
Steps to reproduce
Insert an image via the img tag and specify width or height as null or undefined.
What is expected?
Attributes width and height have not been rendered according with the Vue 3 documentation - https://v3.vuejs.org/guide/template-syntax.html#attributes
What is actually happening?
Attributes width and height have been rendered with 0 value.
The text was updated successfully, but these errors were encountered: