I was out on holiday last week... but new compose ...
# compose
c
I was out on holiday last week... but new compose versions dropped 🎉 1.5.0 stable of anim, foundation, material2, runtime, ui Version 1.6.0-alpha03 of anim, foundation, material2, runtime • New type of enter/exit transition that scales the content based on the size of the animating container during enter & exit animation.
LookaheadScope
Composable fun and interface are now stable. (Ifb2ce) • Added support for configuring
privateImeOptions
(Idb772) (idk what this is yet, but hope that its somehow related to password autofill not working in compose) • Fixed text fields showing keyboard and being editable when
readOnly
is true. Also fixed the keyboard not showing when
readOnly
is changed from true to false while focused. (I34a19, b/246909589) • Material2 components now have a separate API to pass
windowInsets
to support edge-to-edge functionality in android. Unlike material3 components, material2 components do not support insets by default and the value should be passed manually. Refer to the corresponding samples for guidance. (I655e8) (OH HECK YEAH) • Fix new
CompositionLocalProvider
optimization (3118e88) • Correct how movable content nodes are disassembled. (5e3d59b) Version 1.2.0-alpha05 of material3 • Updates to the Checkbox and
TriStateCheckbox
colors. The
CheckboxDefaults.colors()
disabledUncheckedColor
now only affects the border of the checkbox. Special cases that require you to set the internal box color when disabled and unchecked requires a custom constructed instance of a
CheckboxColors
with the desired color values. (I77d17, b/291943198)
🎉 7
thank you color 5
h
(idk what this is yet, but hope that its somehow related to password autofill not working in compose
hate to be bearer of bad news but no, it's about a generic option with the same name that was available in platform. It's used by apps to send arbitrary preferences to IMEs that are not specified in EditorInfo API. https://developer.android.com/reference/android/view/inputmethod/EditorInfo#privateImeOptions
c
dang. 😅
need 1password autofill support sooo bad
t
It started working for us randomly
🤨 1
c
no way? really?
let me try to whip up a new sample app.
maybe 1password updated?
r
Hey @Colton Idle. Have it worked for you?
I managed to make autofill work for
Copy code
AutofillType.Username
AutofillType.Password
with 1Password in my sample
But Googles default autofill doesn't work 😄
Works in chrome, but not in compose app
c
I haven't had a chance to try again yet unfortunately
j
Did you have the chance to try it again? For us autofil in compose is still not working (reliably). Maybe we're missing something.
@raenardev Do you have sample code?
r
I do not have sample code, as this is something i tried in our app. But i've tried something similar to this: https://bryanherbst.com/2021/04/13/compose-autofill/
👀 1
I know this is an old thread, but if you are still waiting for autofill support, i have a little update for you. @Colton Idle you can try sample from repo, hopefully it works for your cases with 1Password https://kotlinlang.slack.com/archives/CJLTWPH7S/p1715600206892859
👍 1
And yes, now i posted sample repo if you want to test it out