Skip to content

fix: CSS SVGPath android parsing bugfix#8918

Draft
wisniewskij wants to merge 1 commit intomainfrom
@wisniewskij/css-svg-path-bugfix
Draft

fix: CSS SVGPath android parsing bugfix#8918
wisniewskij wants to merge 1 commit intomainfrom
@wisniewskij/css-svg-path-bugfix

Conversation

@wisniewskij
Copy link
Contributor

@wisniewskij wisniewskij commented Feb 4, 2026

Summary

For some reason, paths coming from android can have an empty subpath (only M and/or Z but no C -- effectively invisible) and those can mistakenly be interpolated with normal subpaths causing visual bugs. I added a filter in parsing that removes all the empty paths (except a situation where that's the only path).

Test plan

Run fabric-example -> CSS -> Animated Properties -> SVG Properties -> Path
It was clearly visible in "Pause to Play" example.

@wisniewskij wisniewskij self-assigned this Feb 4, 2026
@wisniewskij wisniewskij requested a review from MatiPl01 February 4, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant