Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

There is a blank on the right side of the picture. #31

Open
ghost opened this issue Aug 16, 2018 · 0 comments
Open

There is a blank on the right side of the picture. #31

ghost opened this issue Aug 16, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 16, 2018

Issue details

image

Steps to reproduce

I set the width of the background image to the width of the screen, but left a blank on the right. I tried to use the screen Width + 1 blank to disappear

Please specify which versions of the RN and ParallaxScroll

  • react-native 0.56.0
  • react-native-parallax-scroll 1.8.0

Affected platforms

  • iOS
  • Android

Screenshots / Screencast / Code Snippets (Optional)

        <ParallaxScroll
          renderHeader={({animatedValue}) => this._renderHeader()}
          headerHeight={64}
          parallaxHeight={BG_HEIGHT}
          isHeaderFixed={true}
          headerFixedBackgroundColor={'#fff'}
          renderParallaxBackground={({animatedValue}) =>
            <ImageBackground
              style={{width: screenWidth, height: BG_HEIGHT}}
              source={require('../../images/temp/designerbox1.jpg')}/>}>
          <View style={{height: 1900}}>
          </View>
        </ParallaxScroll>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants