scale icon indicating copy to clipboard operation
scale copied to clipboard

Unexpected blue box around close icon in Scale Modal

Open tischrei opened this issue 10 months ago • 1 comments

Scale Version from your github pages site: 3.0.0-beta.150

Current Behavior Modals are opening and right after there is a blue outlined box around the closing cross / icon of the modal.

Expected Behavior I would expect that the blue rectangular is there while clicking on the closing icon, but at least not all the time.

Desktop (please complete the following information):

  • OS: windows
  • Browser chrome
  • Version Version 123.0.6312.59 (Offizieller Build) (64-Bit)

Additional context image

tischrei avatar Mar 26 '24 13:03 tischrei

In Modal, the default focus element is this close button (variant = ghost). So it's normal for this border to appear.

To fix it, just set the focus to any other element while the Modal is open.

Aloento avatar Apr 28 '24 22:04 Aloento

I will close this as no action would be needed from our side.

amir-ba avatar Aug 29 '24 13:08 amir-ba