-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
ShareElement demo 编译后的小程序和微信小程序原生效果不一致 #14053
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jun 21, 2023
ShareElement 的 key 换成 mapkey |
/// <reference types="@tarojs/taro" />
import '@tarojs/components';
declare namespace NodeJS {
interface ProcessEnv {
TARO_ENV: 'weapp' | 'swan' | 'alipay' | 'h5' | 'rn' | 'tt' | 'quickapp' | 'qq' | 'jd';
}
}
declare module '@tarojs/components' {
interface ShareElementProps {
/** 映射标记
* @supported weapp
*/
mapkey?: string;
}
} 目前先跑的本地,但是必须在 |
TheKonka
added a commit
to TheKonka/taro
that referenced
this issue
Jun 26, 2023
18 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 2.30.3
使用框架: React
复现步骤
https://docs.taro.zone/docs/components/viewContainer/share-element
copy 代码,本地运行
期望结果
动画效果和小程序原生demo效果一致
实际结果
类似于
translateY
的动画效果丢失,只有PageContainer
的显隐动画环境信息
The text was updated successfully, but these errors were encountered: