Open Bug 1885661 Opened 1 year ago Updated 1 year ago

Sharp Cut-off in Translations Language Dropdown Shadow

Categories

(Firefox for Android :: Translations, defect, P3)

All
Android
defect

Tracking

()

People

(Reporter: olivia, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][foundation] [translations:127][translations:128][translations:130])

Attachments

(4 files)

More details in the Figma.

Whiteboard: [fxdroid][foundation]
Severity: -- → S4
Priority: -- → P3

I think this is not a bug.

Whiteboard: [fxdroid][foundation] → [fxdroid][foundation] [translations:127]

Consider looking for obstructions on the shadow, none were spotted in the initial investigation, or else using the .shadow modifier to attempt to figure out more around here or smooth it out manually.

Assignee: nobody → ohall
Whiteboard: [fxdroid][foundation] [translations:127] → [fxdroid][foundation] [translations:127][translations:128]
Assignee: ohall → nobody
Whiteboard: [fxdroid][foundation] [translations:127][translations:128] → [fxdroid][foundation] [translations:127][translations:128][translations:130]

Didn't have any luck with .shadow. However, removing offset here fixes the issue, but it causes the dialog to hover over the line. Will try and see if there is a way to have both the correct offset and shadow.

Assignee: nobody → ohall

Changing offset didn't fix it as much as I hoped and .shadow seems to modify the enter dialog and not the menu itself. Seems related to this discussion about problems customizing DropdownMenu. When I try to modify the shadow on DropdownMenu it is the inner shadow of the component and not the outer shadow.

Additionally, moving the offset still has the sharp line, it only looked fixed because I was testing on a Pixel. Nothing appears to be cutting the shadow off early on the Translations version of this bug.

Mentioning, this bug is much more prominent on a Samsung device and it looks like the regular menu is impacted as well.

Attached image Shadow on Browser Menu
Summary: Sharp Cut-off in Translations Language Dropdown → Sharp Cut-off in Translations Language Dropdown Shadow

Example using .shadow on DropdownMenu. Looking at DropdownMenu's implementation, it looks like modifier applies to DropdownMenuContext and no modifier for Popup.

I'm needing to end this timeboxed attempt. My best lead after the attempt is waiting for the compose bug to change and allow us more customization. Otherwise, I wonder if there is some ideal configuration with the offset values.

Assignee: ohall → nobody
Blocks: 1909674

I did a quick google search on this and it seems that Google added the ability to change the elevation for their built in DropdownMenu, which is used for the Translations Language Dropdown. However, the change is made for Material 3, whereas we are currently using Material 2 in fenix. Thus, I have added migrating to Material3 as a blocker for this bug

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: