feat: SW-1182 Removed outline and typeOf
This commit is contained in:
@@ -121,7 +121,7 @@ export default function Modal({
|
|||||||
isOpen ? AnimationStateEnum.visible : AnimationStateEnum.hidden
|
isOpen ? AnimationStateEnum.visible : AnimationStateEnum.hidden
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (typeof isOpen === "undefined") {
|
if (isOpen === undefined) {
|
||||||
setAnimation(AnimationStateEnum.unmounted)
|
setAnimation(AnimationStateEnum.unmounted)
|
||||||
}
|
}
|
||||||
}, [isOpen])
|
}, [isOpen])
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
/* For removing focus outline when modal opens first time */
|
||||||
|
outline: 0 none;
|
||||||
|
|
||||||
/* for supporting animations within content */
|
/* for supporting animations within content */
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
Reference in New Issue
Block a user