We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eac06b commit dd28a8dCopy full SHA for dd28a8d
src/modal/CModal.js
@@ -11,6 +11,7 @@ const getTransitionClass = s => {
11
s === 'exiting' ? 'd-block' : ''
12
}
13
14
+//animation fixes introduced thanks to Sirlordt
15
//component - CoreUI / CModal
16
const CModal = props => {
17
@@ -31,7 +32,7 @@ const CModal = props => {
31
32
...attributes
33
} = props
34
- const [isOpen, setIsOpen] = useState(show)
35
+ const [isOpen, setIsOpen] = useState(false)
36
const modalClick = e => e.target.dataset.modal && closeOnBackdrop && close()
37
38
useEffect(() => {
0 commit comments