native-base

Animated: `useNativeDriver` was not specified issue of ReactNativeBase Input

狂风中的少年 提交于 2020-08-24 05:39:28
问题 I created a new react native project today (April 3rd, 2020) and added native-base. Then I tried to add an input with floating label. It gives warning message: Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false . If I removed floatingLabel attribute or changed it to stackedLabel the warning disappeared. While this warning is appearing, onChangeText is not being called. The component file. import React from 'react'; import {

Animated: `useNativeDriver` was not specified issue of ReactNativeBase Input

别说谁变了你拦得住时间么 提交于 2020-08-24 05:38:10
问题 I created a new react native project today (April 3rd, 2020) and added native-base. Then I tried to add an input with floating label. It gives warning message: Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false . If I removed floatingLabel attribute or changed it to stackedLabel the warning disappeared. While this warning is appearing, onChangeText is not being called. The component file. import React from 'react'; import {

Animated: `useNativeDriver` was not specified issue of ReactNativeBase Input

荒凉一梦 提交于 2020-08-24 05:36:14
问题 I created a new react native project today (April 3rd, 2020) and added native-base. Then I tried to add an input with floating label. It gives warning message: Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false . If I removed floatingLabel attribute or changed it to stackedLabel the warning disappeared. While this warning is appearing, onChangeText is not being called. The component file. import React from 'react'; import {

How to remove bottom line of Header and top line of Footer in Native Base?

落爺英雄遲暮 提交于 2020-07-06 20:36:38
问题 as the image can show it , my app shows a line at the top of my Footer and at the bottom of my Header. Its seems a common thing in Native Base. I have checked out the native-base theme but I can´t find some to fix this error. Code: import React, { Component } from 'react'; import { Container, Content, Footer, FooterTab, Button, Icon, Text, Header, Title, Left, Right, Body, } from 'native-base'; export default class FooterTabsExample extends Component { render() { return ( <Container> <Header>

React Native - Native Base Footer not change color

自闭症网瘾萝莉.ら 提交于 2020-06-27 23:12:39
问题 Here is the code: // Bottom.js <StyleProvider style={getTheme(commonColor)}> <Footer> <FooterTab> <Button active> <Icon active name="food" size={24} /> <Text active>Lunch Box</Text> </Button> <Button> <Icon name="coins" size={24} /> <Text>Point</Text> </Button> <Button> <Icon name="face" size={24} /> <Text>Profile</Text> </Button> </FooterTab> </Footer> </StyleProvider> // commonColor.js // Footer footerHeight: 55, footerDefaultBg: '#ffffff', // FooterTab tabBarTextColor: '#FFF',

React-native native-base datepicker issue

邮差的信 提交于 2020-06-17 15:49:26
问题 I'm wondering if you could help me fix the following issue. Using the native-base datepicker I am trying to manipulate the default date. On load from the parent component I am setting it to today's date. Then using some logic to add x number of months. The date is then updated in the state, but it's not being mapped to the datepicker. See code below: // Parent state from parent component state = { index: 0, routes: [ { key: '1', title: 'STEP 1' }, { key: '2', title: 'STEP 2' }, { key: '3',