Fixed
Status Update
Comments
ja...@google.com <ja...@google.com> #2
Agree
cl...@google.com <cl...@google.com>
ja...@google.com <ja...@google.com> #3
Also it causes slider to be unusable while onValuChangeFinished != null
lp...@google.com <lp...@google.com> #4
Agree, big problem, started from alpha 11 +-
Description
Column {
ProvideEmphasis(emphasis = EmphasisAmbient.current.medium) {
Log.d("jalc", ContentColorAmbient.current.alpha.toString())
Text("This should be medium")
ProvideEmphasis(emphasis = EmphasisAmbient.current.high) {
Log.d("jalc", ContentColorAmbient.current.alpha.toString())
Text("This should be high")
ProvideEmphasis(emphasis = EmphasisAmbient.current.disabled) {
Log.d("jalc", "Disabled " + ContentColorAmbient.current.alpha.toString())
Text("This should be disabled")
}
}
}
}
They all print the same value, 0.6
Expected: receive the parent's value each time.