-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Prop value inconsistent in dev preview and after build in build preview #10943
Comments
What first comes to mind is that some parts of your CSS are being overwriten in the build process and aren't loaded during DEV; have you ruled that one out? |
My css is coming from app.scss only, which is loaded by quasar by default, also there are no other CSS/scoped CSS in that specific page |
I have another assumption, this might be a vue compiler bug, but not sure as it works in dev and not in prod after build. Also this was working perfectly fine in the last release |
Downgrade the q/app (only) to what you were previously using and check if it works or not. If "yes" then it's a vue bug. |
I went all the way back to |
Can you also downgrade the "quasar" dep pls? |
I went back to the previous version before this issue happened "@quasar/extras": "^1.11.2",
"quasar": "^2.1.0",
"@quasar/app": "^3.1.2", I'm surprised, the issue is still there. But i totally remember this was not an issue before the upgrade |
It's not the right way to downgrade. Change only
|
Oh sorry, let me do it again. |
Thanks @pdanpdan , I can see that downgrading to |
Related vue bug vuejs/core#4783, fix PR: vuejs/core#4790 |
Thanks for the follow-up. Since it's a confirmed external issue, let's close this ticket. |
Hii @rstoenescu , the above PR got merged yesterday and also released under 3.2.22. |
@soulsam480 Vue has been upgraded to v3.2.22 in "@quasar/app" v3.2.3 |
Describe the bug
A clear and concise description of what the bug is.
Prop value is inconsistent in dev preview and prod build in latest release. Was working perfectly fine in previous release.
In the above component, the
padding
prop value should be undefined whenpadding
prop is passedround
prop istrue
This works as expected in dev preview, but after building, the value changes to
8px 16px 8px 16px
when the above props are passedCodepen/jsFiddle/Codesandbox (required)
Fork a Codepen (https://codepen.quasar.dev) or a jsFiddle (https://jsfiddle.quasar.dev) or a Codesandbox (https://codesandbox.quasar.dev) and hit save then copy-paste link here.
To Reproduce
Steps to reproduce the behavior:
<e-btn size="xs" round icon="mdi-bell" color="grey" unelevated class="q-ml-sm" />
as you can see the padding is undefined
quasar serve
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):
Quasar Version: 2.1.1
@quasar/app Version: 3.1.3
Quasar mode:
Tested on:
OS: Linux ubuntu
Node: LTS
NPM: NA
Yarn: 1.x
Browsers: Chrome, Edge, Safari
iOS:NA
Android:NA
Electron: NA
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: