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

How to you disable bounce effect when opening the modal? #348

Open
voue opened this issue Jul 20, 2021 · 2 comments
Open

How to you disable bounce effect when opening the modal? #348

voue opened this issue Jul 20, 2021 · 2 comments

Comments

@voue
Copy link

voue commented Jul 20, 2021

I've been looking all over and i cant find anything indicating how to disable the bounce effect.

Anyone?

@PotaczekL
Copy link

I've been looking all over and i cant find anything indicating how to disable the bounce effect.

Anyone?

@voue you can use easing={Easing.elastic(0)} prop.

@ikotsov
Copy link

ikotsov commented Oct 22, 2021

@voue

It seems that you can use any Easing function you want judging from the description of the "easing" prop from the docs:

Easing function applied to opening modal animation

The only problem here is that, in case you write in Typescript and you have installed the types package, Typescript won't recognize this prop. It seems that it is not included in modal's prop types.

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

3 participants