Copying code block sample on registration page closes registration screen

Report a problem
Copying code block sample on registration page closes registration screen.

Steps to reproduce

  1. On the page ...
    for registering new instance,
  2. When I click on ...
    the "Copy" at top right of code block,
  3. it closes the registration screen and goes back to the dashboard.
  4. This prevents me from ever getting to select the "I have restarted my Traefik instance" button.

Expected behavior
The registration screen would stay open after clicking this, and/or there would be a way to enter a previously created token.

Current behavior
It closes the screen.


Version: Google Inc. 5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36