Sharp Cut-off in Translations Language Dropdown Shadow
Categories
(Firefox for Android :: Translations, defect, P3)
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.
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Comment 2•1 year ago
|
||
I think this is not a bug.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 3•1 year ago
|
||
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.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 4•1 year ago
|
||
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.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 5•1 year ago
|
||
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.
| Reporter | ||
Comment 6•1 year ago
|
||
| Reporter | ||
Comment 7•1 year ago
|
||
| Reporter | ||
Comment 8•1 year ago
|
||
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 9•1 year ago
•
|
||
Example using .shadow on DropdownMenu. Looking at DropdownMenu's implementation, it looks like modifier applies to DropdownMenuContext and no modifier for Popup.
| Reporter | ||
Comment 10•1 year ago
|
||
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.
| Reporter | ||
Updated•1 year ago
|
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
Description
•