GeekyAnts/vue-native-core

v-show doesn't seem to work

Open

#156 opened on Jun 7, 2019

View on GitHub
 (5 comments) (2 reactions) (0 assignees)JavaScript (8,333 stars) (324 forks)batch import
bughelp wanted

Description

This doesn't work as expected for me:

<template>
  <view>
    <text v-show="false">Hide this</text>
  </view>
</template>

i.e. The "Hide this" text still shows up.

Also, the code example for v-show in the Vue Native documentation actually uses v-if: https://vue-native.io/docs/conditional.html#v-show

Contributor guide