Not work ClipPath/Path on Android
See original GitHub issue1.)
<Svg width="200" height="150" viewBox="6 0 200 160" >
<G>
<Defs>
<ClipPath
id="clip-path">
<Path d="M179.33,9.5H13.83S6.1,9.38,3.33,6.58A19,19,0,0,1,0,1.83V123.17A17.33,17.33,0,0,0,17.33,140.5h162a17.33,17.33,0,0,0,17.33-17.33V26.83A17.33,17.33,0,0,0,179.33,9.5Z"
fill="none" />
</ClipPath>
</Defs>
<G clipPath="url(#clip-path)">
<Image
width="240"
height="150"
href={this.props.image}/>
</G>
</G>
</Svg>
</View>
2.) Run on ios - All good!
3.) Run on android - Does not work
Why ?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:9
- Comments:11
Top Results From Across the Web
Not work ClipPath/Path on Android · Issue #280 - GitHub
Same problem at 6.3.1 version. For iOS everything is fine, but on android ClipPath doesn't working. Is there some solution?
Read more >Android clipPath not working - Stack Overflow
I am trying to clip paths in my imageview. But nothing is happening. My ImageView public static class CliptImageView extends ImageView ...
Read more >751417 - clip-path doesn't work on Android with inset(0px)
Issue 751417: clip-path doesn't work on Android with inset(0px) ... Steps to reproduce the problem: 1. Open the "bug.html" in the attachment. 2....
Read more >Clip Path not working on Android - ionic-v3
The problem is that the clip-path is not working on the Ionic page, even on the Google Chrome and Firefox for Android, but...
Read more >clip-path - CSS: Cascading Style Sheets - MDN Web Docs
The clip-path CSS property creates a clipping region that sets what part of an element ... after dinner, not later than eleven o'clock....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@logvi thanks for posting, I’ll take a look
@dustinsavery “react-native-svg”: “^6.0.0”, “react-native”: “0.50.3”, android 5.1.1
clipPath prop for Image is not working. This is my code: