Fixed
Status Update
Comments
so...@google.com <so...@google.com>
ma...@google.com <ma...@google.com> #2
This is a browser bug related to user selectable zoom level.
ya...@gmail.com <ya...@gmail.com> #3
This appears to be the same issue I'm experiencing.
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 03b8c488e9eb8764bd36e30590f5171823f9560a
Author: Matvei Malkov <malkov@google.com>
Date: Thu Oct 08 18:19:09 2020
Add InteractionState to scrollable and corresponding containers, add animation observation to LazyList
This CL adds InteractionState to the ScrollableColumn/Row and Lazy lists to allow people to observe interactions that are happening on this element. While doing so, to make functionality on par, I added isAnimationRunning and stopAnimation is LazyState, so people won't miss this menthods while migrating from ScrollableColumn.
Change-Id: I815666e1b4544dcd5da9f253ec1b539fdd777529
Relnote: Added interactionState to Modifier.scrollable, ScrollableColumn and LazyColumnFor
Fixes: 169509805
Test: added
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/ListDemos.kt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/ScrollerSamples.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/ScrollableTest.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/LazyColumnForTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/Scroll.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/Scrollable.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListState.kt
https://android-review.googlesource.com/1454897
Branch: androidx-master-dev
commit 03b8c488e9eb8764bd36e30590f5171823f9560a
Author: Matvei Malkov <malkov@google.com>
Date: Thu Oct 08 18:19:09 2020
Add InteractionState to scrollable and corresponding containers, add animation observation to LazyList
This CL adds InteractionState to the ScrollableColumn/Row and Lazy lists to allow people to observe interactions that are happening on this element. While doing so, to make functionality on par, I added isAnimationRunning and stopAnimation is LazyState, so people won't miss this menthods while migrating from ScrollableColumn.
Change-Id: I815666e1b4544dcd5da9f253ec1b539fdd777529
Relnote: Added interactionState to Modifier.scrollable, ScrollableColumn and LazyColumnFor
Fixes: 169509805
Test: added
M compose/foundation/foundation/api/current.txt
M compose/foundation/foundation/api/public_plus_experimental_current.txt
M compose/foundation/foundation/api/restricted_current.txt
M compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/ListDemos.kt
M compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/ScrollerSamples.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/ScrollableTest.kt
M compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/LazyColumnForTest.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/Scroll.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/Scrollable.kt
M compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListState.kt
ma...@google.com <ma...@google.com> #5
I am experiencing the same issue. white lines are appearing in IE browser.
does any one know how to get rid of this?
does any one know how to get rid of this?
Description
Component used: ScrollableColumn/verticalScroll modifier
Version used: alpha-03
Devices/Android versions reproduced on: Irrelevant
The
scrollable
modifier hasonScrollStarted
/onScrollStopped
parameters, but theverticalScroll
/horizontalScroll
modifiers are not exposing those. Some type visibility likestate.scrollableController
make it impossible to usescrollable
manually.Would also be nice to have those on
ScrollableColumn
/ScrollableRow
I guess.Use case: I'd like to receive the event where the user stopped scrolling, and use the velocity to trigger a snap behavior.
I have the following page:
I want to be able to trigger a smooth scroll to a certain value (
0
orcollapsingToolbarSize
) to snap the toolbar state.Maybe there is a different way of doing this. I tried using the
rawDragGestureFilter
, but the onStop was always receiving a value of0
for the offset. Maybe this is a bug?Thanks.