Skip to content
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

ViewPagerAndroid has been extracted from react-native core and will be removed in a future release. #568

Closed
1 task done
xinbowang opened this issue Jul 11, 2019 · 2 comments

Comments

@xinbowang
Copy link
Contributor

xinbowang commented Jul 11, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<Tabs styles={{topTabBarSplitLine: { // borderBottomColor: theme.border_color_base, borderBottomWidth: 0 }}} tabs={this.state.tabs} animated={false} tabBarUnderlineStyle={{backgroundColor: '#4475FD'}} tabBarActiveTextColor="#4475FD" tabBarInactiveTextColor="#999"> <ScrollView> <Text>1</Text> </ScrollView> <ScrollView> <Text>2</Text> </ScrollView> <ScrollView> <Text>3</Text> </ScrollView> </Tabs>

What is expected?

  1. yarn add @react-native-community/viewpager
  2. react-native link @react-native-community/viewpager
  3. import ViewPagerAndroid from '@react-native-community/viewpager';

What is actually happening?

import {ViewPagerAndroid} from 'react-native';

Environment Info
antd 3.1.17
React react-native 0.59.9
System android
Browser android 9.0(google apis) x86
@xinbowang xinbowang mentioned this issue Aug 21, 2019
@TonyYang9527
Copy link

the same issue. Please resolve it.

BANG88 pushed a commit that referenced this issue Sep 27, 2019
BANG88 added a commit that referenced this issue Sep 27, 2019
* 'master' of github.com:ant-design/ant-design-mobile-rn:
  pr #568 (#615)
  English typo (#637)
@BANG88
Copy link
Member

BANG88 commented Sep 29, 2019

3.2.0

@BANG88 BANG88 closed this as completed Sep 29, 2019
GrigoryPtashko added a commit to GrigoryPtashko/ant-design-mobile-rn that referenced this issue Oct 3, 2019
* upstream/master:
  bump
  test: update snap
  fix: locale
  pr ant-design#568 (ant-design#615)
  English typo (ant-design#637)
  English typo (ant-design#632)
  test: fixes tabs
  fix: miss TouchableOpacity
  chore: tabs  add RenderTabBar demo close ant-design#630
  chore: add demo fixes ant-design#545
  bump
  Add longPress support to ListItem and amend ListItemProps (ant-design#619)
  fix: test of search-bar
  bump
  fix: type definition of search-bar
  给Modal加上了返回键的监听 (ant-design#611)
  chore: doc
  fix: update react-native autolinking fixes ant-design#598
  bump
  DatePicker组件增加一个defaultDate属性,指定默认的选中时间 (ant-design#593)
  bump
  Grid新的一行不满columnNum时,如果自定义了itemStyle,用来填充columnNum的item样式会和正常的item不一样的问题 (ant-design#583)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants