react-native-remote-svg icon indicating copy to clipboard operation
react-native-remote-svg copied to clipboard

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

Open lucaspinheirogit opened this issue 5 years ago • 2 comments

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 avatar Apr 03 '19 22:04 lucaspinheirogit

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

lucaspinheirogit avatar Apr 27 '19 22:04 lucaspinheirogit

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.

seekshiva avatar May 16 '19 07:05 seekshiva