Assigned
Status Update
Comments
se...@google.com <se...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: aplachykau <
Link:
Correct TimePickerDialog inconsistencies to align with the spec.
Expand for full commit details
Correct TimePickerDialog inconsistencies to align with the spec.
Bug: b/397821743
Test: N/A
Change-Id: I23f9ff88a17ae0d33d1868f6cf1b0fc7097edb64
Files:
- M
compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/TimePickerSamples.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TimePickerDialog.kt
Hash: c506cb26786aa9196369639c74ec1756efbc186a
Date: Fri Feb 28 17:42:12 2025
ts...@rakuten.com <ts...@rakuten.com> #3
Is there any updates on this?
Thank you
Thank you
Description
Jetpack Compose version: 2024.12.01
Material Library Version (M2, M3 or Both?): M3
Material Compose component used: RangeSlider
Kotlin version: 1.7.20
Steps to Reproduce or Code Sample to Reproduce:
Problem : The selection of active/dragging thumb when the thumbs are collide with each others is a problem.
Root cause : The logic to select which thumb is currently dragging in the
rangeSliderPressDragModifier
inside therangeSliderLogic.compareOffsets
Details :
state.rawOffsetStart
andstate.rawOffsetEnd
with the X position will make the result always be the other thumb that is not what you dragged previously.rangeSliderPressDragModifier
is set internally inside theRangeSliderImpl
, there is no way we can override the logic.Example (the video attached) :
Question/Request :
Thank you very much Best regards