Fixed
Status Update
Comments
ca...@google.com <ca...@google.com>
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
ca...@google.com <ca...@google.com>
ap...@google.com <ap...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
Description
Version used: 1.1.0-alpha02
Theme used: Theme.AppCompat.Light.DarkActionBar
Devices/Android versions reproduced on: Samsung Galaxy Note8 (Android 8.0.0)
When scrolling through the items of a spinner (slowly), it keeps automatically jumping back to the previously selected item. This makes scrolling (almost) impossible. See attached screen recording and sample project.
This is a new issue since appcompat 1.1.0-alpha02. The previous alpha01 has no issues. It looks like this is the commit which broke the spinner:
Before this commit, because mPopupContext would be null, the framework implementation of SpinnerPopup was used which does not have this issue. This commit changed some stuff, so now the AppCompat implementation of SpinnerPopup is always used. However, it looks like this has some scrolling bugs on Android Oreo. So it could be that this issue was already there in the AppCompat implementation of SpinnerPopup previously.
- Relevant code to trigger the issue: See attached sample project.
- A screenrecord or screenshots showing the issue (if UI related): See attached screenrecord.