ui icon indicating copy to clipboard operation
ui copied to clipboard

Improve modal dismiss experience

Open rylek90 opened this issue 4 years ago • 0 comments

I've recently noticed that Modal component's experience might be improved a bit.

Without a closeButton prop modal can be dismissed with an escape button but only if it's pressed within its container. I think it should either: ignore button press at all without closeButton prop or handle it within whole document context. I can push PR with a fix but I need some guidance if it's a reasonable improvement in your opinion 😄

rylek90 avatar Aug 07 '21 10:08 rylek90