Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share buttons: Add option to make sticky #1896

Open
laurelfulford opened this issue Aug 8, 2022 · 0 comments
Open

Share buttons: Add option to make sticky #1896

laurelfulford opened this issue Aug 8, 2022 · 0 comments
Labels
[Type] Enhancement Improved behavior or functionality

Comments

@laurelfulford
Copy link
Contributor

laurelfulford commented Aug 8, 2022

We've had a request to make the social share icons sticky, similar to the New Yorker: https://www.newyorker.com/news/daily-comment/ayman-al-zawahiri-and-the-taliban

In that case, the placement is to the left of the story; I'm not sure offhand if we can make them visible on scroll with AMP like that example, but it's testing to confirm (if I remember right, AMP seems to have more limitations around changing an elements overall appearance, like size, because it can shift other elements -- changing opacity, and therefore visibility, does work).

This is doable with a third-party plugin (like AddThis) but it would be nice to have something "baked in" so it's not necessary to install another plugin to achieve this.

Somewhat related to this issue: #1531 -- though it will probably be easier to make them a "freestanding" element rather than trying to work them into all possible header configurations.

@laurelfulford laurelfulford added the [Type] Enhancement Improved behavior or functionality label Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement Improved behavior or functionality
Projects
None yet
Development

No branches or pull requests

1 participant