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

Update svg rendering approach

Open tarik02 opened this issue 6 years ago • 3 comments
trafficstars

Normally svg is rendered using backgroundImage in web.

tarik02 avatar May 28 '19 19:05 tarik02

How is this better than rendering the svg directly in DOM?

seekshiva avatar Jun 04 '19 04:06 seekshiva

@seekshiva now svg always cover the whole webview.

tarik02 avatar Jun 04 '19 06:06 tarik02

The height: 100%; width: 100% that was assigned to svg tag also ensured that the svg covered the whole webview. Was there any scenario where it wasn't covering the WebView fully?

seekshiva avatar Jun 04 '19 06:06 seekshiva