Closing settings dialog causes jump to top of page

Created on 13 March 2024, 9 months ago

Problem/Motivation

When opening the settings dialog via URL (e.g. #editCookieSettings) and closing it either through clicking on the X or on any of the Accept or Deny buttons, the anchor symbol # remains in the URL, causing the page to jump to the top.

Steps to reproduce

  1. Set the URL hash to editCookieSettings for the settings dialog layer and embed it somewhere on the site
  2. Click the link to open the settings dialog
  3. Close the dialog

If it doesn't occur immediately, repeat steps 2 and 3 again.

Proposed resolution

Closing the dialog shouldn't leave the # in the URL

πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

remoschneider Stuttgart, Germany

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

Comments & Activities

Production build 0.71.5 2024