aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-10 16:45:24 -0400
committerIvan Chen <ivan@tagg.id>2021-06-10 16:45:24 -0400
commitd4c65c0ba3de95adf3069500491b124df453660f (patch)
treeef3436f68a0840033a89af0594caef05acf6deb7 /src
parentf28308be1b6fe918c1314a20d052cc52683df3a0 (diff)
Fix drawer background shadow
Diffstat (limited to 'src')
-rw-r--r--src/components/common/BottomDrawer.tsx2
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) {