FAB fix | TP-61793 | TP-61794 | TP-61795 (#10634)

Co-authored-by: Shivam Goyal <shivam.goyal@navi.com>
This commit is contained in:
Prajjaval Verma
2024-04-27 14:52:04 +05:30
committed by GitHub
parent 40933e4bff
commit 3139210a20

View File

@@ -55,8 +55,8 @@ const QuoteOfferScreen = ({
const fabTextStyle = useAnimatedStyle(() => {
return {
width: withTiming(
y.value < lastScrollPosition.value || y.value <= 0 ? 90 : 0,
maxWidth: withTiming(
y.value < lastScrollPosition.value || y.value <= 0 ? 120 : 0,
{ duration: 100 }
),
paddingRight: withTiming(