Fixed
Status Update
Comments
le...@gmail.com <le...@gmail.com> #2
Any chance this will get dealt with relatively soon?
ja...@veeva.com <ja...@veeva.com> #3
Hello. No updated to share yet, sorry
ho...@google.com <ho...@google.com>
ko...@gmail.com <ko...@gmail.com> #4
Hello, is it fixed in some new compose versions ? Thanks a lot
os...@google.com <os...@google.com>
cl...@google.com <cl...@google.com> #5
Hello, is it fixed in some new compose versions ? Thanks a lot
ap...@google.com <ap...@google.com> #6
val sheetState = rememberBottomSheetState(
initialValue = BottomSheetValue.Collapsed,
confirmStateChange = {
it != BottomSheetValue.Collapsed
})
val sheetScaffoldState = rememberBottomSheetScaffoldState(
bottomSheetState = sheetState
)
initialValue = BottomSheetValue.Collapsed,
confirmStateChange = {
it != BottomSheetValue.Collapsed
})
val sheetScaffoldState = rememberBottomSheetScaffoldState(
bottomSheetState = sheetState
)
jr...@gmail.com <jr...@gmail.com> #7
Hi, nothing to share yet. We will update this issue when we get to it!
ap...@google.com <ap...@google.com> #8
Thank you...hoping this will get fixed soon
os...@google.com <os...@google.com> #9
Do we have any updates for this bug? or some "workaround" to solve the problem?
Description
ConstraintLayout version: constraintlayout-compose:1.1.0-alpha12
Jetpack Compose version: 1.6.0-alpha04
Jetpack Compose component used: ConstraintLayout
Android Studio Build: Android Studio Giraffe | 2022.3.1 Build #AI-223.8836.35.2231.10406996, built on June 29, 2023 Runtime version: 17.0.6+0-17.0.6b829.9-10027231 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Kotlin version: 1.9.10
Material Version: material3:1.2.0-alpha06
This is a regression issue, latest version of
constraintlayout-compose
which worked well:1.1.0-alpha05
Steps to Reproduce or Code Sample to Reproduce:
visibility = if (!detailVisible) Visibility.Gone else Visibility.Visible
)width = Dimension.fillToConstraints
property causes the other ComposeView not to be shown on the screenSample Code
Here you can find a sample project to reproduce it:https://github.com/jarroyoesp/ConstraintLayoutIssue
And this issue just happens in case we use
Visibility.Gone
. If we useVisibility.Invisible
it works well.Temporary Fix
We find a possible fix. If we only set
width
toDimension.fillToConstraints
and in other case we set toDimension.wrapContent
, all the ComposeViews are shown when is their time.