diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-10 16:45:24 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-10 16:45:24 -0400 |
commit | d4c65c0ba3de95adf3069500491b124df453660f (patch) | |
tree | ef3436f68a0840033a89af0594caef05acf6deb7 /src/components | |
parent | f28308be1b6fe918c1314a20d052cc52683df3a0 (diff) |
Fix drawer background shadow
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/common/BottomDrawer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/common/BottomDrawer.tsx b/src/components/common/BottomDrawer.tsx index 16e98690..b79b8820 100644 --- a/src/components/common/BottomDrawer.tsx +++ b/src/components/common/BottomDrawer.tsx @@ -23,7 +23,7 @@ const BottomDrawer: React.FC<BottomDrawerProps> = (props) => { const {isOpen, setIsOpen, showHeader, initialSnapPosition} = props; const drawerRef = useRef<BottomSheet>(null); const [modalVisible, setModalVisible] = useState(isOpen); - const bgAlpha = useValue(isOpen ? 1 : 0); + const bgAlpha = useValue(isOpen ? 0 : 1); useEffect(() => { if (isOpen) { |