Closed DSteve595 closed 1 year ago
Add reproducer to GitHub: https://github.com/dima-avdeev-jb/reproduce-js-canvas-rounded-corner-shape
This was fixed in https://github.com/JetBrains/compose-multiplatform-core/pull/550 and fix is available in 1.4.1
Fixed in 1.4.1
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Drawing a
Surface
with certainRoundedCornerShape
s crashes Skia. It doesn't crash withRectangleShape
orRoundedCornerShape(16.dp)
, only seems to crash when setting radii per corner, e.g.RounderCornerShape(topStart = 8.dp, topEnd = 8.dp)
. From the browser console:Sample project Run
./gradlew jsBrowserDist && ./gradlew jsBrowserRun
, click the bottom option to repro the crash