Status Update
Comments
ca...@gmail.com <ca...@gmail.com> #2
Branch: androidx-master-dev
commit 23a7d960caf43390a554700d3c56ada189a9d10e
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Mon Aug 10 15:11:36 2020
IconButton / IconToggleButton API scrub
Test: ./gradlew updateApi
Bug:
Bug:
Relnote: "Adds enabled parameter to IconButton, and reorders parameters in IconToggleButton"
Change-Id: I0a9419b1a631cadad451395302ad87b7f9214f96
M ui/ui-material/api/current.txt
M ui/ui-material/api/public_plus_experimental_current.txt
M ui/ui-material/api/restricted_current.txt
M ui/ui-material/src/commonMain/kotlin/androidx/compose/material/IconButton.kt
so...@google.com <so...@google.com>
ph...@gmail.com <ph...@gmail.com> #3
expandIn { IntSize ...
fix works, but has the same problem as with wrapping AnimatedVisibility
in fixed size Box
: the shadow is cropped during the transition, as can be seen in the withBox.gif
attached to original post.
ap...@google.com <ap...@google.com> #4
Branch: androidx-main
commit 3658fbf9f31f7efe35ecc726fe6cbffbd07b4373
Author: Cagdas Caglak <cagdascaglak@gmail.com>
Date: Mon Apr 04 10:01:41 2022
Fix AnimatedVisibility issue with FloatingActionButton in Scaffold
With scaffold change which I mentioned below, it breaks the fab button has 0 size. androidx.compose.animation.TransitionData has ChangeSize data and if enter animation has (0, 0) initialSize(it's default at animations), affected change is eliminating zero size fab component when recomposition runs.
Bug: 224005027
Relnote: "Fix AnimatedVisibility issue with FloatingActionButton in Scaffold"
Affected ChangeId: I4e80378133be73fdb1700daf7a1bc926504a7611
Test: Run "androidx.compose.material.ScaffoldTest#scaffold_geometry_animated_fabSize" test
Change-Id: I3a0aec281af02a829375aeb2ca4474cbf1eb05a5
M compose/material/material/src/androidAndroidTest/kotlin/androidx/compose/material/ScaffoldTest.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
sg...@google.com <sg...@google.com> #5
ja...@gmail.com <ja...@gmail.com> #6
Still broken. Version 1.3.1
sh...@gmail.com <sh...@gmail.com> #7
The same issue happens for me with androidx.compose.material3:material3:1.1.0-alpha04
, button doesn't appear with default animations for AnimatedVisibility
, but it works when using scaleIn/scaleOut animations instead
pa...@gmail.com <pa...@gmail.com> #8
I'm still having this issue with androidx.compose.material3:material3:1.1.0-beta02
. Default animations don't work at all, i.e. nothing gets shown. Fade animations get clipped. Scale animations seem to work fine.
jo...@asos.com <jo...@asos.com> #9
co...@google.com <co...@google.com>
pe...@gmail.com <pe...@gmail.com> #10
te...@gmail.com <te...@gmail.com> #11
mi...@gmail.com <mi...@gmail.com> #12
This issue is still occurring in androidx.compose:compose-bom:2023.10.01
an...@gmail.com <an...@gmail.com> #13
I am also experiencing this issue in 2023.10.01
.
As mentioned in the original issue, setting enter = scaleIn()
and exit = scaleOut()
on the AnimatedVisibility
seems to fix the issue, but does not work as a solution when there is more than one FAB (primary extended and secondary small FAB).
ph...@bayf.net <ph...@bayf.net> #14
Still happening with 2024.03.00
ja...@billease.com <ja...@billease.com> #15
mi...@gmail.com <mi...@gmail.com> #16
mc...@solem.fr <mc...@solem.fr> #17
Still reproducing as today.
Animation androidx.compose.animation:animation:1.7.0-beta06
Foundation androidx.compose.foundation:foundation:1.7.0-beta06
pa...@outlook.com <pa...@outlook.com> #18
2025 and still happening
Description
Jetpack Compose release version: 1.1.1 & 1.2.0-alpha04
With some animation types, including
AnimatedVisibility
default ones, the view doesn't appear at all.ScaleIn/out works fine.
If I put
AnimatedVisibility
in aBox(Modifier.size(FabSize))
, it works almost fine, expect the shadow - it's being clipped during animation until the final frame.