Swiper not show on Android Devices but iOS Devices it's work fine
See original GitHub issue <Swiper
height={190}
showsButtons={true}
removeClippedSubviews={false}>
<Text> test text</Text>
<Text>test text</Text>
<Text>test text</Text>
<Text>test text</Text>
</Swiper>
I can’t use it for android but iOS it’s work
And this solution from Collaborator it’s " not work "
constructor(props) {
super(props);
this.state = {
width: '99%',
};
}
componentWillMount() {
setTimeout(() => {
this.setState({
width: '100%'
});
}, 500);
}
render() {
console.log(' about to render swiper');
const slides = this.props.dataList.map(this.renderView.bind(this));
return (
<Swiper
width={this.state.width}
dotColor={LIGHT_GREY_3}
activeDotColor={YELLOW}
containerStyle={this.props.style}
style={styles.scrollStyle}
>
{ slides }
</Swiper>
);
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:13
Top Results From Across the Web
Swiping on a slide does not update the pagination active state ...
Swiping on a slide does not update the pagination active state. Emulating touch on Chrome works but real devices or emulators for iOS...
Read more >Swipe doesn't work in android devices and chrome emulator
When I try to swipe in android devices and chrome emulator, the event is not getting triggered. It works fine in iOS devices...
Read more >Troubleshooting the Credit Card Swiper on an Apple Device
To troubleshoot the credit card swiper on an iPhone or iPad, go through the following steps: Clean the reader Make sure credit card......
Read more >Swiper - The Most Modern Mobile Touch Slider
Swiper, along with other great components, is a part of Framework7 - a fully-featured framework for building iOS & Android apps. Swiper is...
Read more >iOS 16 Problems and Bugs with Fixes in 2022 - Tenorshare
iOS 16's depth effect is a great new feature, but if iOS 16 lock screen depth effect not working for you, it could...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For me the bug appear when i use Swiper inside Modal component.
I got success to solve the swiper issue for android… Simple provide a static with(not in percentage) to the swiper style I hope it works for you!