nutui icon indicating copy to clipboard operation
nutui copied to clipboard

Collapse 折叠面板 展开和收起没有动画效果

Open haro1d opened this issue 4 months ago • 0 comments

NutUI 包名

@nutui/nutui-taro

NutUI 版本号

4.2.8

平台

h5

重现链接

https://gitee.com/yeungsj/taro-vue3-tailwind-vite-test.git

重现步骤

F12看了该动画效果的实现方式,是height从0到auto,再加transition,这种方式是不会有动画效果的,可以试试改成用transform: scaleY()或者max-height或者是其他方式

期望的结果是什么?

期望有正常的动画效果

实际的结果是什么?

没有动画效果

环境信息

� Taro v4.1.5

Taro CLI 4.1.5 environment info: System: OS: Windows 11 10.0.26100 Binaries: Node: 22.17.1 - C:\nvm4w\nodejs\node.EXE npm: 10.9.2 - C:\nvm4w\nodejs\npm.CMD npmPackages: @tarojs/cli: 4.1.5 => 4.1.5 @tarojs/components: 4.1.5 => 4.1.5 @tarojs/helper: 4.1.5 => 4.1.5 @tarojs/plugin-framework-vue3: 4.1.5 => 4.1.5 @tarojs/plugin-html: 4.1.5 => 4.1.5 @tarojs/plugin-platform-alipay: 4.1.5 => 4.1.5 @tarojs/plugin-platform-h5: 4.1.5 => 4.1.5 @tarojs/plugin-platform-jd: 4.1.5 => 4.1.5 @tarojs/plugin-platform-qq: 4.1.5 => 4.1.5 @tarojs/plugin-platform-swan: 4.1.5 => 4.1.5 @tarojs/plugin-platform-tt: 4.1.5 => 4.1.5 @tarojs/plugin-platform-weapp: 4.1.5 => 4.1.5 @tarojs/runtime: 4.1.5 => 4.1.5 @tarojs/shared: 4.1.5 => 4.1.5 @tarojs/taro: 4.1.5 => 4.1.5 @tarojs/vite-runner: 4.1.5 => 4.1.5 babel-preset-taro: 4.1.5 => 4.1.5 eslint-config-taro: 4.1.5 => 4.1.5

其他补充信息

No response

haro1d avatar Sep 05 '25 08:09 haro1d