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
Transition
defineModel
3.4.0-beta.2
https://stackblitz.com/edit/vitejs-vite-1yf9xq?file=src%2Fcomponents%2FHelloWorld.vue
1- Click on Toggle Model Value 2- Check if corresponding value is changing (it does not)
Toggle Model Value
3- Click on Toggle Local Value 4- Check if corresponding value is changing (it does)
Toggle Local Value
5- Click on Toggle Explicit Value 6- Check if corresponding value is changing (it does)
Toggle Explicit Value
When I click on Toggle Model Value, It is expected that the value is updated inside Transition component.
Value inside Transition of modelValue (which is defined with defineModel) is not reactive.
modelValue
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.4.2 - /usr/local/bin/npm pnpm: 8.10.5 - /usr/local/bin/pnpm npmPackages: vue: 3.4.0-beta.2 => 3.4.0-beta.2
This issue is not happening on stable channel (3.3.x).
The text was updated successfully, but these errors were encountered:
related commit f74785b simplify demo switch to v3.4.0-beta2
Sorry, something went wrong.
fix(defineModel): ensure trigger effect when prop changed (#9841)
eb12f21
close #9838
fixed by #9841
Successfully merging a pull request may close this issue.
Vue version
3.4.0-beta.2
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-1yf9xq?file=src%2Fcomponents%2FHelloWorld.vue
Steps to reproduce
1- Click on
Toggle Model Value
2- Check if corresponding value is changing (it does not)
3- Click on
Toggle Local Value
4- Check if corresponding value is changing (it does)
5- Click on
Toggle Explicit Value
6- Check if corresponding value is changing (it does)
What is expected?
When I click on
Toggle Model Value
, It is expected that the value is updated insideTransition
component.What is actually happening?
Value inside
Transition
ofmodelValue
(which is defined withdefineModel
) is not reactive.System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.4.2 - /usr/local/bin/npm pnpm: 8.10.5 - /usr/local/bin/pnpm npmPackages: vue: 3.4.0-beta.2 => 3.4.0-beta.2
Any additional comments?
This issue is not happening on stable channel (3.3.x).
The text was updated successfully, but these errors were encountered: