react-native-step-indicator icon indicating copy to clipboard operation
react-native-step-indicator copied to clipboard

StepIndicator component is pulsing when put in side a ScrollView

Open AizenSousuke opened this issue 2 years ago • 3 comments

When put inside a ScrollView, the component is pulsing (growing and moving about its own axis). Anyone faced the same issue?

<ScrollView style={{ flexGrow: 0 }}>
                             ...
        {selectedIndex === 1 && (
	        <Card>
		        <Card.Title>Route</Card.Title>
		        <Card.Divider width={1} />
		        <StepIndicator
			        direction="vertical"
			        currentPosition={2}
			        stepCount={3}
			        labels={["Step 1", "Step 2", "Step 3"]}
		        />
	        </Card>
        )}
</ScrollView>

Only happens in vertical orientation.

AizenSousuke avatar Jul 31 '22 06:07 AizenSousuke

I am facing too

Pravesh701 avatar Sep 20 '22 05:09 Pravesh701

what's your code like?

AizenSousuke avatar Oct 01 '22 05:10 AizenSousuke

@AizenSousuke Thanks for replying, actually I developed my own with Animated, so with that, this problem was resolved.

Pravesh701 avatar Oct 01 '22 05:10 Pravesh701