leecade / leecade/react-native-swiper

it doesn't work in react-native-scrollable-tab-view

Open
#370 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

export default class News extends Component
{
render(){
return(

		<ScrollableTabView
			tabBarPosition= "top"
			renderTabBar={ () =>  <DefaultTabBar   /> }
			tabBarUnderlineStyle = {styles.underline}
			tabBarTextStyle = {styles.tabText}
		>

		<View tabLabel='home'>
			<Swiper style={styles.wrapper} >
				<View style={styles.slide1}>
					<Text style={styles.text}>Hello Swiper</Text>
				</View>
				<View style={styles.slide2}>
					<Text style={styles.text}>Beautiful</Text>
				</View>
				<View style={styles.slide3}>
					<Text style={styles.text}>And simple</Text>
				</View>
			</Swiper>
		</View>

		</ScrollableTabView>
	);

}

}

so when i scroll the screen swiper doesn't work scrolltabview worked

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied News component with react-native-scrollable-tab-view and inspect the interaction between Swiper and ScrollableTabView. Compare scrolling behavior inside the tab view with the expected Swiper gestures; done means the nested Swiper responds to scrolling without breaking the tab view.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.