google / accompanist

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

[LazyColumn] scroll observation scope does not exist #1752

Closed BadKiko closed 4 months ago

BadKiko commented 4 months ago

Describe the bug

In 0.35.0-alpha i get error java.lang.IllegalStateException: scroll observation scope does not exist if i use lazycolumn

To Reproduce

Steps to reproduce the behavior:

  1. Set accompanist 0.35.0-alpha
  2. Use this code example or any another lazycolumn example: LazyColumn(){ items(2){ Text("fdssdf?") } }

Expected behavior

Dont have a crash when i using lazycolumn :)

Environment:

bentrengrove commented 4 months ago

This doesn't look like an Accompanist issue. If this bug is still occuring, please file at https://goo.gle/compose-feedback

BadKiko commented 4 months ago

Idk, but I set 0.34.0 version of accompanist and this fix crash

igorkos commented 2 months ago

Having same issue reverted to 0.34.4 and no issues. Probably becouse 0.35.0-alpha upgraded Compose to 1.7 and my project use 1.6.6