From 12045985ea2f01751977e2d8aecd499ebed36364 Mon Sep 17 00:00:00 2001 From: Rifan Ardiansyah Date: Thu, 22 Apr 2021 14:16:23 +0700 Subject: [PATCH] add style zIndex to View when modal is not visible --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 09c1806..6277d39 100644 --- a/index.js +++ b/index.js @@ -512,7 +512,7 @@ export default class ModalBox extends React.PureComponent { this.state.isAnimateOpen || this.state.isAnimateClose; - if (!visible) return ; + if (!visible) return ; const content = (