-
**问题描述**
taro转百度小程序自定义tabbar未生效
**复现步骤**
[复现问题的步骤]
1. 创建一个新的工程
2. src下创建文件夹custom-tab-bar
3. 在app.js配置项tabBar中配置custom:true
4. 在需要引用自定义tabbar的页面中配置usingComponent: {}
```js
config = {
…
-
Version
- react-native-router-flux v^4.0.0-beta.21
- react-native v0.44.3
Expected behaviour
I expected that I can dynamic control tabbar display and hide.
For example , there are two roles f…
-
很感谢您的思路!
我按照您的项目主页的步骤,以及其他站点的讲解之后,编译时出现了以下的问题
`thirdScriptError
Cannot read property 'list' of undefined;at App editTabbar function
TypeError: Cannot read property 'list' of undefined`
还麻烦请教一下您…
-
### Version
Tell us which versions you are using:
- react-native-router-flux v 4.0.2 (v3 is not supported)
- react-native ~0.55.2
### Expected behaviour
login .js
Actions.Account_list({ …
-
**问题描述**
自定义Tabbar通过props传参来获取那个item为当前选中项,从而设置active样式,开发者工具调试没有问题,使用真机调试会触发两次render(),第一次props的值为null,第二次为正确的值,最后渲染结果为props=null的渲染结果
**复现步骤**
[或者可以直接贴源代码,能贴文字就不要截图]
```js
// app.js配置
ta…
-
### Actual behaviour
I have got the following configuration:
```
screen: TabNavigator({
tab1: {
screen: Tab1
},
tab2: {
screen: Tab2
},
ta…
-
不想用默认的边框颜色,或者可以使用customTabBar控制,现在的customTabBar设置背景色不能兼容所有设备比如iPhoneX,也不能设置边框
-
So i copied the DefaultTabBar.js to app root and renamed it to CustomTabBar.
Tried importing it like
```js
CustomTabBar = require('./CustomTabBar');
```
and changing the import for Button (in C…
-
Hey mate, first off, this is a beautiful module, well done!
I have some prev/next buttons that I want to control the active tab.
I put the following function on the ScrollableTabView
onChangeTab=…
-
### Current Behavior
When you use a `createBottomTabNavigator` and a custom `tabBarComponent` using `TabBarBottom` and just passing props, it gives a type error `layout.width` is `undefined`
I s…
mtt87 updated
5 years ago