ampproject / ampproject/amphtml

`amp-story-desktop-one-panel` make share menu consistent between mobile and desktop

Open
#34,976 2 comments 0 reactions 1 assignee Claimed by @processprocess View on GitHub
P3: When Possible Type: Feature Request WG: stories
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

When on mobile, the share menu is a draggable drawer. When on desktop, the share menu is a modal.
For the unified one-panel experience, we should make the share button behave consistently.

![image](https://user-images.githubusercontent.com/22420856/123005878-d48baf00-d384-11eb-9387-efffcc45049e.png)
![image](https://user-images.githubusercontent.com/22420856/123005895-da819000-d384-11eb-9c05-290186e93d58.png)

### Alternatives Considered

Either always fall back on the draggable drawer, or fall back on the modal UI. Probably the draggable drawer makes more sense, so that it's consistent with the page attachments, and it supports better the story player.

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.