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

Modal only shows after adding css classes #266

Open
bruno-lopes opened this issue May 17, 2024 · 1 comment
Open

Modal only shows after adding css classes #266

bruno-lopes opened this issue May 17, 2024 · 1 comment

Comments

@bruno-lopes
Copy link

Modals were not showing, only the backdrop. I had to set the following styles to make them show:

.modal {
display: none !important;
}
.modal.show {
display: block !important;
}

I'm using the following coreui versions:

"@coreui/angular": "^5.1.0",
"@coreui/angular-chartjs": "~5.0.0",
"@coreui/chartjs": "~4.0.0",
"@coreui/icons": "^3.0.1",
"@coreui/icons-angular": "^5.0.0",
"@coreui/utils": "^2.0.2",

Before opening:

Bug reports must include:

  • Operating system and version (Windows, macOS, Android, iOS): "Linux Mint 21.3"
  • Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser): Firefox 126.0
  • A reduced test case or suggested fix using CodePen or JS Bin
@bruno-lopes bruno-lopes changed the title Modal only show after adding css classes Modal only shows after adding css classes May 17, 2024
@xidedix
Copy link
Member

xidedix commented May 21, 2024

@bruno-lopes cannot reproduce
make sure you've got animations enabled https://coreui.io/angular/docs/getting-started/introduction#animations

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