I want the modal to close when clicking outside of it just like in the examples: https://reactstrap.github.io/components/modals/ but it doesn't happen:
https://codesandbox.io/s/x9rx5jx34q
Press the button and then click anywhere else and nothing happens. The same happens in my code.
I tried to add backdrop={true} as a prop for the modal but it didn't work.
So what does reactstrap uses in their examples?