Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork245
Closed
Labels
Description
Whenever in the same hierarchy, there are multiplev-if
, and av-if
becometrue
, all reactive properties stop working altogether. This means all Vue reactive properties does not work anymore in the entire app, even if the page is destroyed. The only way is to reload the app.
As a workaround:v-if
alongv-else-if
orv-else
are not affected,v-show
is also not affected.
The bug has been reproduced by@rigor789 .
This causes the issue:
Page StackLayout Label(v-if="foo"text="Enable"@tap="foo = false") Label(v-if="!foo"text="Disable"@tap="foo = true")
However this is working:
Page StackLayout Label(v-if="foo"text="Enable"@tap="foo = false") Label(v-elsetext="Disable"@tap="foo = true")
And this is also working:
Page StackLayout Label(v-show="foo"text="Enable"@tap="foo = false") Label(v-show="!foo"text="Disable"@tap="foo = true")