google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.42k stars 597 forks source link

[Navigation Material] #1697

Closed anastas-makar closed 11 months ago

anastas-makar commented 1 year ago

Description

Error: java.lang.IllegalStateException: The offset was read before being initialized. Did you access the offset in a phase before layout, like effects or composition? updating to androidx.compose.material:material:1.6.0-alpha03 (in androidx.compose.material:material:1.5.0-beta01 works fine)

Steps to reproduce

Update to androidx.compose.material:material:1.6.0-alpha03. I have not found any reference to my code, so I don't know which element caused the issue. So I've attached the full stacktrace in text file. stacktrace.txt

leinardi commented 1 year ago

This is probably related to this upstream issue: https://issuetracker.google.com/issues/295536718

ianhanniballake commented 11 months ago

Crashes in Material components should be reported in the issue tracker.

anastas-makar commented 11 months ago

I've updated to androidx.compose.foundation:foundation:1.6.0-alpha08 and the issue is not reproducing. Most likely it was fixed in one the latest versions.