[Design System API Migration] Update Dropdown to use DropdownMenu instead of ContexualMenu
Categories
(Firefox for Android :: Design System and Theming, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | verified |
People
(Reporter: rsainani, Assigned: npoon)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fxdroid] [group4])
Attachments
(1 file)
When Bug 1834654 lands, consider migrating to the new API for menu (DropdownMenu) for Dropdown file (which maybe should be called TextFieldWithDropdown). The API is now concise and supports all the usecases defined in the design system.
Note: There are other usages that can be used as examples. For easy migration, use the IntelliJ contextual actions after removing the deprecation warning suppression on the callsite.
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Comment 4•1 year ago
|
||
Can QA please verify that the dropdowns in Translations Bottom Sheet are behaving the same as they were in Fx135 / 134?
In particular, here is the STR and things to focus on:
- Go to https://en.wikipedia.org/wiki/Canada.
- Click the 3 dot menu
- Click on Tools (if menu redesign is enabled)
- Click on Translate page...
- Click on both the Translate from and Translate to dropdowns
i. Check that the padding for the dropdown items is correct. This should be the same regardless of whether items are selected or not. - Additionally, check that the touch area fills the entire row when there are no items selected and when there is an item selected.
ii. Check that the positioning of the dropdown is correct in both landscape and vertical orientations.
iii. Check that the currently checked item is correct (matches what is shown before you click on the dropdown)
iv. Check that if the placeholder is currently being shown, no item is selected in the dropdown items
v. Check that at most 1 dropdown item is selected
vi. Opening to the selected option and ensuring this was working correctly in TalkBack and that TalkBack works properly in general.
Comment 5•1 year ago
•
|
||
Hi,
Verified as fixed on the latest Nightly build (136.0a1 from 2025-01-30).
All the above steps are verified and are correct.
I found a small issue with talkback, announcing "Double tap to toggle" an already selected language which then does no change, but I'll file a separate ticket Here it is.
Device used: Google Pixel 9 Pro XL (Android 15).
Marking the ticket as verified on 136.
Updated•1 year ago
|
Description
•