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.0-beta.18
https://codepen.io/activewidgets/pen/KKVQqOo?editors=0010
create div with style="position:absolute; bottom:20px", change the bottom value to 0 (numeric)
style="position:absolute; bottom:0"
style="position:absolute" i.e. bottom value disappears
The bug is likely in patchStyle() line 20 - https://github.com/vuejs/vue-next/blob/d4e9b19932dac686f57091e66f21a80d4c5db881/packages/runtime-dom/src/modules/style.ts#L20
instead of if (!next[key]) { it should be if (!next[key] && !next[key] === 0) {
if (!next[key]) {
if (!next[key] && !next[key] === 0) {
The text was updated successfully, but these errors were encountered:
#1504
Sorry, something went wrong.
77538ec
No branches or pull requests
Version
3.0.0-beta.18
Reproduction link
https://codepen.io/activewidgets/pen/KKVQqOo?editors=0010
Steps to reproduce
create div with style="position:absolute; bottom:20px", change the bottom value to 0 (numeric)
What is expected?
style="position:absolute; bottom:0"
What is actually happening?
style="position:absolute"
i.e. bottom value disappears
The bug is likely in patchStyle() line 20 - https://github.com/vuejs/vue-next/blob/d4e9b19932dac686f57091e66f21a80d4c5db881/packages/runtime-dom/src/modules/style.ts#L20
instead of
if (!next[key]) {
it should beif (!next[key] && !next[key] === 0) {
The text was updated successfully, but these errors were encountered: