react-native-step-indicator
react-native-step-indicator copied to clipboard
StepIndicator component is pulsing when put in side a ScrollView
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.
I am facing too
what's your code like?
@AizenSousuke Thanks for replying, actually I developed my own with Animated, so with that, this problem was resolved.