Skip to content

Box-shadow only appear in Desktop but not Android/Ohos #44431

@yezhizhen

Description

@yezhizhen

Describe the bug:
This bug only happen on Ohos/Android but not Desktop, which is really interesting.

Android Desktop
Screenshot_20260422_172649.jpg Image

To Reproduce:

<button type="button"
    style="position:relative;width:44px;height:24px;border-radius:12px;border:none;padding:0;opacity:1;background:#AFECF5;flex-shrink:2;margin:15px"><span
        style="position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#AFECF5;box-shadow:0 1px 2px rgba(0,0,0,0.2);pointer-events:none"></span></button>

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions