-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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): Close calendar button not placed correctly when opened using button click event #21043
Comments
…y too low The specificity of the screen reader close button was the same as `.mat-raised-button` which means that if the button styles are loaded after the datepicker styles, they'll be overridden and will make the button look weird. These changes bump up the specificity a bit to work around the issue. Fixes angular#21043.
The problem is that the specificity of the close button styles is too low and can be overridden by |
…y too low (#21058) The specificity of the screen reader close button was the same as `.mat-raised-button` which means that if the button styles are loaded after the datepicker styles, they'll be overridden and will make the button look weird. These changes bump up the specificity a bit to work around the issue. Fixes #21043.
…y too low (#21058) The specificity of the screen reader close button was the same as `.mat-raised-button` which means that if the button styles are loaded after the datepicker styles, they'll be overridden and will make the button look weird. These changes bump up the specificity a bit to work around the issue. Fixes #21043. (cherry picked from commit d9cc055)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…y too low (angular#21058) The specificity of the screen reader close button was the same as `.mat-raised-button` which means that if the button styles are loaded after the datepicker styles, they'll be overridden and will make the button look weird. These changes bump up the specificity a bit to work around the issue. Fixes angular#21043.
Reproduction
StackBlitz: https://stackblitz.com/edit/angular-y4se2w
Steps to reproduce:
mat-datepicker-toggle
component)Close calendar
button is on the inside of the calendar border)Expected Behavior
When the picker is open, no UI artifact at the bottom of the calendar
When you tab to the
Close calendar
button, the button should appear outside of the calendar borderActual Behavior
What behavior did you actually see?
When the picker is opened using a button click event, a UI artifact appears at the bottom of the calendar
When you tab the button, the button appears inside the calendar component
Environment
The text was updated successfully, but these errors were encountered: