Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.58k stars 797 forks source link

Sharing: native share popup pops up to first post #39060

Open jeherve opened 3 weeks ago

jeherve commented 3 weeks ago

Impacted plugin

Jetpack

Quick summary

When using the native share button in a post list template in a block theme, the "Copied to clipboard" popup pops up next to the first instance of the button on the page.

Steps to reproduce

  1. Install and activate Jetpack
  2. go to Appearance> Editor
  3. Edit a template that displays a list of posts.
  4. Add a sharing buttons block
  5. Add a native share sharing service
  6. Save your changes
  7. On the frontend, view that list of posts
  8. Click on the native share button next to a post down on the page.

A clear and concise description of what you expected to happen.

On desktop, a "coped to clipboard" popup appears next to the button

What actually happened

The popup appears next to the first post on the page.

Impact

All

Available workarounds?

No but the platform is still usable

If the above answer is "Yes...", outline the workaround.

No response

Platform (Simple and/or Atomic)

Simple, Atomic, Self-hosted

Logs or notes

Reported here: https://www.reddit.com/r/jetpack/s/Njg1JLKHXX

retnonindya commented 2 weeks ago

📌 REPRODUCTION RESULTS

📌 FINDINGS/SCREENSHOTS/VIDEO

Aug-27-2024 17-50-48

There is no console error.

📌 ACTIONS Triaged