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

When { centered: true } onOverlayClicked function is not wroking. #40

Open
rommelmamedov opened this issue Jan 29, 2020 · 2 comments
Open

Comments

@rommelmamedov
Copy link

No description provided.

@Windynik
Copy link

Can confirm, this is a bug.

@iltimasd
Copy link

To those who stumble on this bug, until @lexcode gets their PR merged you can add this to your global CSS to make all modals centered and retain onOverlayClicked functionality

.modali-wrapper {
  top: 0 !important;
  display: flex !important;
  align-items: center;
}

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