Status Update
Comments
ro...@gmail.com <ro...@gmail.com> #2
Running into a similar issue, any update on this?
ma...@google.com <ma...@google.com>
on...@aol.com <on...@aol.com> #3
This is a platform behavior change.
sg...@google.com <sg...@google.com> #4
on...@aol.com <on...@aol.com> #5
sg...@google.com <sg...@google.com> #6
Any progress?
sg...@google.com <sg...@google.com> #7
sg...@google.com <sg...@google.com> #10
This issue is also stopping us from being able to support edge-to-edge in Android 15. Given it's a enforced requirement for targeting Android 15, couldn't this be prioritised higher? Companies like us have hundreds of screens to fix so waiting until 2025 for a workaround is going to be tough work.
sg...@google.com <sg...@google.com>
ap...@google.com <ap...@google.com> #11
Maybe you can create a static method, com.your.company.ViewGroupCompat#installCompatInsetsDispatch
, like this:
After creating the method, you need to call ViewGroupCompat.installCompatInsetsDispatch(getWindow().getDecorView())
in onCreate()
of your activity to make the behavior compatible with API 30+.
When the new library with the API is released, you can replace com.your.company.ViewGroupCompat
with androidx.core.view.ViewGroupCompat
.
Description
val scrollBehavior = remember { TopAppBarDefaults.enterAlwaysScrollBehavior() }
Scaffold(
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection) // this makes scroll very slow and leggy
){
LazyColumn(
content = {}
)
}