copy-current-url.js works only for the first social sharing block on a page

Created on 1 June 2023, about 1 year ago
Updated 7 July 2023, 12 months ago

Problem/Motivation

I have two social sharing blocks on the same page

Steps to reproduce

- Create and configure a social sharing block, make sure to turn on the "Copy" button.
- Place this block into 2 different regions

Proposed resolution

Instead of document.querySelector use document.querySelectorAll

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia Gal K

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024