Browse Source

fix(menu): 移除 taro 下 menu-popup 的入场动画 (#1703)

peixinyu 3 years ago
parent
commit
5d41b8d8ef
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/packages/__VUE/menuitem/index.taro.vue

+ 1 - 0
src/packages/__VUE/menuitem/index.taro.vue

@@ -20,6 +20,7 @@
       :position="parent.props.direction === 'down' ? 'top' : 'bottom'"
       :position="parent.props.direction === 'down' ? 'top' : 'bottom'"
       :duration="parent.props.duration"
       :duration="parent.props.duration"
       pop-class="nut-menu__pop"
       pop-class="nut-menu__pop"
+      transition="transition-none"
       overlayClass="nut-menu__overlay"
       overlayClass="nut-menu__overlay"
       :overlay="parent.props.overlay"
       :overlay="parent.props.overlay"
       :lockScroll="parent.props.lockScroll"
       :lockScroll="parent.props.lockScroll"