Comments (14)
@kobeyk 我这边是用RN0.64 + teaset-pro 0.8.4 在 Android 上做的测试, Toast 是正常的,你是用 Android 还是 iOS 测试的?方便的话可以提供一个最小 demo 吗?
你仓库的example运行是正常的,我这边也是0.64+,android上测试的,我初始化了一个项目引入了teaset-pro0.8.4,上传到gitee了,你有时间可以跑下,看下是不是哪里没有用对,地址是:https://gitee.com/appleyk/teaset-sample
<TopView>
<View style={{padding: 5}}>
<Button
title="Toast Test"
onPress={() => Toast.message('Test', 5000, 'center')}
/>
<Button
title="Toast Test"
onPress={() => Toast.message('测试测试测试')}
/>
</View>
</TopView>
如果你不用 BasePage
或者 NavigationPage
这两个基类的话,需要在最外面套一层 TopView
不需要每个页面都写,在顶层写一遍就可以了。
from teaset.
react-native 0.64.0 不能正常使用
from teaset.
same here
from teaset.
Have a look at #444 please
from teaset.
@BadtzMaru @chenyunshan @huangx1024 @basicButtons
teaset-pro 先拿这个顶一顶。
from teaset.
@BadtzMaru @chenyunshan @huangx1024 @basicButtons
teaset-pro 先拿这个顶一顶。
问一下,teaset后续已经切到teaset-pro了吗?
from teaset.
@BadtzMaru @chenyunshan @huangx1024 @basicButtons
teaset-pro 先拿这个顶一顶。
这个也不行啊
from teaset.
我来回复一下哈,下面这个方法可以解决了,大家看下这个解决方法,暂时顶一下。
文件
components/ListRow/TouchableOpacity.js
修改
import Easing from 'react-native/Libraries/Animated/src/Easing';
为
import Easing from 'react-native/Libraries/Animated/Easing';
from teaset.
from teaset.
@kobeyk demo(example) 跑起来有什么问题吗?
from teaset.
@kobeyk demo(example) 跑起来有什么问题吗?
不报错,使用Toast,没出来效果
from teaset.
@kobeyk 我这边是用RN0.64 + teaset-pro 0.8.4 在 Android 上做的测试, Toast 是正常的,你是用 Android 还是 iOS 测试的?方便的话可以提供一个最小 demo 吗?
from teaset.
@kobeyk 我这边是用RN0.64 + teaset-pro 0.8.4 在 Android 上做的测试, Toast 是正常的,你是用 Android 还是 iOS 测试的?方便的话可以提供一个最小 demo 吗?
你仓库的example运行是正常的,我这边也是0.64+,android上测试的,我初始化了一个项目引入了teaset-pro0.8.4,上传到gitee了,你有时间可以跑下,看下是不是哪里没有用对,地址是:https://gitee.com/appleyk/teaset-sample
from teaset.
@kobeyk 我这边是用RN0.64 + teaset-pro 0.8.4 在 Android 上做的测试, Toast 是正常的,你是用 Android 还是 iOS 测试的?方便的话可以提供一个最小 demo 吗?
你仓库的example运行是正常的,我这边也是0.64+,android上测试的,我初始化了一个项目引入了teaset-pro0.8.4,上传到gitee了,你有时间可以跑下,看下是不是哪里没有用对,地址是:https://gitee.com/appleyk/teaset-sample
<TopView> <View style={{padding: 5}}> <Button title="Toast Test" onPress={() => Toast.message('Test', 5000, 'center')} /> <Button title="Toast Test" onPress={() => Toast.message('测试测试测试')} /> </View> </TopView>如果你不用
BasePage
或者NavigationPage
这两个基类的话,需要在最外面套一层TopView
不需要每个页面都写,在顶层写一遍就可以了。
好的,明白了,非常感谢!
from teaset.
Related Issues (20)
- Projector 卡顿
- oncloseRequest 和 modal
- The development server returned response error code: 500 HOT 4
- 麻烦兼容下rn 0.64.0 HOT 12
- 作者看到的话改一下吧 HOT 1
- _opacityActive 有关问题 HOT 1
- Unable to resolve module react-native/Libraries/Animated/src/Easing from ../node_modules/teaset/components/ListRow/TouchableOpacity.js
- Unable to resolve module react-native/Libraries/Animated/src/Easing from /Users/Edmond/WorkSpace/Global1V1/zeus_android/node_modules/teaset/components/ListRow/TouchableOpacity.js
- PullVIew HOT 2
- input标签禁用
- 这行代码为什么不显示呢 HOT 1
- Error: Unable to resolve module react-native/Libraries/Animated/src/Easing from D:\working_workspace\waterproof_project\6.code\newWaterproofApp\node_modules\teaset\components\ListRow\TouchableOpacity.js: react-native/Libraries/Animated/src/Easing could not be found within the project or in these directories: HOT 4
- Drawer组件非常卡顿,检查后发现放进去的view会被挂载9次!!! HOT 1
- 有人有同样的问题么? 我最近在升级0.66 升级完之后发现 toast menu 都无效了也没有错误 HOT 1
- version diff -- Libraries/Pressability/Pressability.js 0.660. 0.62.0 version API differences, these APIs need to be updated if the latest version is used
- 库组件import目录问题 HOT 1
- 作者不维护了吗 HOT 6
- Wheel 滑动 bug HOT 1
- ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teaset.