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
微信小程序
小程序基础库: 2.15 使用框架: React
const [isShow, setIsShow] = useState(false); function inputClick(index = 0) { setCurrent(index); setIsShow(!isShow); } <View onClick={inputClick}>点我</View> <View className={isShow ? ["test", "test-show"].join() : ['test'].join()}></View> .test { position: fixed; bottom: 0; width: 200px; height: 200px; background-color: skyblue; transform: translateY(100%); transition: transform .3s ease-in; } .test-show{ transform: translateY(0); }
期望过渡效果生效,实现弹出框效果
首次显示 过渡效果(transition)为无效 之后的行为都是有效的
Taro v3.0.28 Taro CLI 3.0.28 environment info: System: OS: Windows 10 Binaries: Node: 12.14.0 - C:\Program Files\nodejs\node.EXE npm: 6.14.9 - C:\Program Files\nodejs\npm.CMD
业务场景: 实现一个虚拟键盘的弹出唤起效果, 在我主动给标签添加 hoverClass="none" 属性后正常
The text was updated successfully, but these errors were encountered:
fix(runtime): 修复pure-view设置非额外属性仍变为static-view的问题
6663fa4
fix #8789
Successfully merging a pull request may close this issue.
相关平台
微信小程序
小程序基础库: 2.15
使用框架: React
复现步骤
期望结果
期望过渡效果生效,实现弹出框效果
实际结果
首次显示 过渡效果(transition)为无效 之后的行为都是有效的
环境信息
补充信息
业务场景: 实现一个虚拟键盘的弹出唤起效果, 在我主动给标签添加 hoverClass="none" 属性后正常
The text was updated successfully, but these errors were encountered: