Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StepIndicator component is pulsing when put in side a ScrollView #149

Open
AizenSousuke opened this issue Jul 31, 2022 · 3 comments
Open

Comments

@AizenSousuke
Copy link

AizenSousuke commented Jul 31, 2022

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.

@Pravesh701
Copy link

I am facing too

@AizenSousuke
Copy link
Author

what's your code like?

@Pravesh701
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants