-
Notifications
You must be signed in to change notification settings - Fork 2.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
Calendar: change clickable spans to buttons #3741
Calendar: change clickable spans to buttons #3741
Conversation
I'm concerned there may be scalability issues using |
All these changes look great, thank you! 👍 . @jordandrako let's track that discussion outside of GitHub and complete this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great.
@jordandrako it looks like you have a breaking build because the jest test for Calendar is breaking. This is expected because you changed the spans to buttons and now the snapshots no longer match. Within Once it does you you are free to merge this code in. |
confirmed that calendar still looks fine, thanks for making this change! |
* Change clickable spans to buttons. * Add button resets to classes used by buttons that were spans * npm run changes output * Correct email to microsoft alias * Update snapshot
Pull request checklist
$ npm run change
Description of changes
Change all calendar spans with onClick to buttons. Add CSS properties to related classes to reset browser default button styles.
Focus areas to test
Be sure added CSS doesn't have ill effects on all supported browsers.