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

Bug: Datepicker looses active and hover effect if used together with Bootdtrap due to css glitch #203

Open
arminlinder opened this issue Jul 3, 2018 · 0 comments

Comments

@arminlinder
Copy link

arminlinder commented Jul 3, 2018

When used together with bootstrap.css the datepicker lost it's "hover" and "active" styles, and got a wrong font assigned. When I removed bootstrap.css, everything was fine.

Suspected reason: the generated html for the calendar widget does not contain an explicit <tbody> tag, but the datepicker.css does reference it. When used together with other css which has direct definitions for table styles without <tbody>, those may accidentially overwrite the ones in datepicker.css.

While the use of <tbody> is optional, imho you should maintain consistency between html and css and not address a <tbody> when you don't have it.

After removing the obsolete tags from the datepicker css it did function nicely together with bootstrap.css.

Browsers: Firefox 52.9.0 (ESR), Chrome 67.0.3396.99

@arminlinder arminlinder changed the title Bug: Datepicker looses active and hover if used together with Bootdtrap due to css glitch Bug: Datepicker looses active and hover effect if used together with Bootdtrap due to css glitch Jul 3, 2018
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

1 participant