From 16a1772300909e7532ed25eafd885316893b613d Mon Sep 17 00:00:00 2001 From: Turtuvshin Date: Wed, 21 Feb 2024 15:02:51 +0800 Subject: [PATCH] fixed category sheet visiblity --- src/interface/StoreCategoryPicker.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/interface/StoreCategoryPicker.js b/src/interface/StoreCategoryPicker.js index f7115e5..353f5a4 100644 --- a/src/interface/StoreCategoryPicker.js +++ b/src/interface/StoreCategoryPicker.js @@ -40,7 +40,7 @@ const StoreCategoryPicker = ({ return ( - actionSheetRef.current?.setModalVisible()}> + actionSheetRef.current?.show()}> {!hideButtonTitle && ( @@ -57,8 +57,7 @@ const StoreCategoryPicker = ({ bounceOnOpen={true} nestedScrollEnabled={true} onMomentumScrollEnd={() => actionSheetRef.current?.handleChildScrollEnd()} - ref={actionSheetRef} - > + ref={actionSheetRef}>