volto icon indicating copy to clipboard operation
volto copied to clipboard

Anchor link not working properly if same id is present on the page.

Open iFlameing opened this issue 1 year ago • 1 comments

To Reproduce

  1. Create a Page and add a heading tag and copy it.
  2. Go to another page and paste the copied heading.
  3. On same page create a link which point to firstpage heading.
  4. When you click Volto first navigate to that page and then scroll to previous page anchor tag.

Please create a scrollable page to clearly see the issue.

Screencast

https://github.com/plone/volto/assets/33936987/155f5822-e1aa-439d-b9b1-dc4cc86c9313

iFlameing avatar Apr 05 '24 13:04 iFlameing

@iFlameing can you provide an estimate how much work a fix would be?

tisto avatar Apr 16 '24 08:04 tisto