react-modal icon indicating copy to clipboard operation
react-modal copied to clipboard

Border appears when modal opens. Only when using className instead of inlineCss

Open shmekla opened this issue 6 years ago • 3 comments

Summary:

Hello, I ran into a problem using react-modal. Whenever I add a className, the weird border appears when modal open. Doesn't appear if I use inline, but I need responsiveness, that inline doesn't provide. It disappears when you try to inspect or click on inspect panel. Anyone else ran into this issue?

Steps to reproduce:

  1. Using CSS classes for styling (Official demo)

Expected behavior:

That weird border, shouldn't be there.

Link to example of issue:

https://codepen.io/claydiffrient/pen/KNjVrG

Additional notes:

shmekla avatar Jan 06 '19 12:01 shmekla

@shmekla Are you talking about the border around the modal itself? It might be because the whole modal is in focus.

BlackSpade741 avatar Jan 17 '19 04:01 BlackSpade741

:focus { outline: none; } removes it.

planetClaire avatar Feb 15 '19 03:02 planetClaire

Close this, is solved.

TrejoCode avatar May 02 '20 15:05 TrejoCode