mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-19 19:41:35 +08:00
Halo's showing position depends on the focused thumb index, which would not be updated if there's no need to snap the thumb position. This causes halo shows under the previously focused thumb if you click on the exact position of the new thumb. Always updates the focused thumb when doing snapping to solve the issue. Resolves https://www.google.com/url?q=https://github.com/material-components/material-components-android/issues/2150 PiperOrigin-RevId: 381533677