Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Attachment actions
Description
Version used: 1.6.1
Devices/Android versions reproduced on: Pixel 5 API 33
I have a custom spinner that extends AppCompatSpinner and then adds it manually to the view group. Even though I pass Spinner.MODE_DIALOG as the mode to the AppCompatSpinner constructor, I can still show the dropdown by dragging it down. Looking at the code, dragging down to show the dropdown should only be enabled when the mode is dropdown.
From my finding, looks like we forget to pass the mode from AppCompatSpinner to the Spinner constructor which makes the Spinner get the default value of the mode, which is dropdown (ss attached).