Skip to content

Narnie/compose-vector-stroke-update-issue

Repository files navigation

compose-vector-stroke-update-issue

Example app to demonstrate a bug when updating the vector stroke width in Jetpack Compose

  • Stroke Width is not updated as expected when the Vector Drawable is changed during runtime.
  • Stroke Width is updated if the tree hierachy is different in the Vector Drawable - in the example app the path is wrapped in a group to get it to update.

Example is on Nexus 4 API 33

example-app.mov

About

Example app to demonstrate a bug when updating the vector stroke width in Jetpack Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages