feat: SW-1182 Removed outline and typeOf

This commit is contained in:
Hrishikesh Vaipurkar
2025-01-08 15:42:54 +01:00
parent 7baae05655
commit 5d5de0de31
2 changed files with 4 additions and 1 deletions

View File

@@ -121,7 +121,7 @@ export default function Modal({
isOpen ? AnimationStateEnum.visible : AnimationStateEnum.hidden
)
}
if (typeof isOpen === "undefined") {
if (isOpen === undefined) {
setAnimation(AnimationStateEnum.unmounted)
}
}, [isOpen])

View File

@@ -23,6 +23,9 @@
display: flex;
flex-direction: column;
/* For removing focus outline when modal opens first time */
outline: 0 none;
/* for supporting animations within content */
position: relative;
overflow: hidden;