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

Image has some scrollbars around it that fades away after a few seconds #42

Open
lucaspinheirogit opened this issue Apr 3, 2019 · 2 comments

Comments

@lucaspinheirogit
Copy link

lucaspinheirogit commented Apr 3, 2019

Every time the screen loads, the svg image has some kind of scrollbars that fades away after 1 or 2 seconds. I't doesn matter if the width and height is fixed or auto.

<Image style={{ width: 125, height: 125 }} source={require('./img/user.svg')} />

Link to github project: https://github.com/lucaspinheirogit/PratoPratico

I'm using the latest version (2.0.3) with react-native-webview linked and working normally

image

@lucaspinheirogit lucaspinheirogit changed the title Image has some scroll bars around it that fades away after a few seconds Image has some scrollbars around it that fades away after a few seconds Apr 3, 2019
@lucaspinheirogit
Copy link
Author

A workaround solution i found is to directly change the source code to import {WebView} from 'react-native' instead of 'react-native-webview'

@seekshiva
Copy link
Owner

seekshiva commented May 16, 2019

Can you add overflow: hidden; to the html/body tag style and that would make sure scrollbar is not shown. Try that and let me know.

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

2 participants