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

on zooming in and out randomly, app just crashed :( #22

Open
waleedarshad opened this issue Oct 3, 2016 · 5 comments
Open

on zooming in and out randomly, app just crashed :( #22

waleedarshad opened this issue Oct 3, 2016 · 5 comments

Comments

@waleedarshad
Copy link

No description provided.

@zeljkoX
Copy link

zeljkoX commented Oct 4, 2016

Quick fix is to use custom ViewPager component from react-native-image-zoom.

"Instead of importing from ViewPagerAndroid import ViewPagerZoom from react-native-image-zoom there is a bug in android view pagers with pinch and zoom."

@waleedarshad-vf
Copy link

@zeljkoX i tried but face this issue? can you suggest me solution for this Anthonyzou/react-native-image-zoom#30

@waleedarshad-vf
Copy link

Thanks @zeljkoX after reverting to old version of react native image zoom. yes it works. 0.27.2 have problem with latest version of react-native image zoom.

Thanks for your reply :)

@Batistleman
Copy link

Could you share a code snippet?

@waleedarshad-vf
Copy link

waleedarshad-vf commented Nov 22, 2016

import {ViewPagerZoom} from 'react-native-image-zoom';

    <ViewPagerZoom style={{width:width,  height: this.props.media.height}} >
         <LightboxView media={_this.props.media} object={photo} }/>
     </ViewPagerZoom> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants