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

[ CalendarDatePicker ] Remove unnessessary focus state #6736

Merged
merged 9 commits into from
Feb 22, 2022

Conversation

tashatitova
Copy link
Contributor

CalendarDatePicker button was changing background on focus, breaking the contrast ratio.
Removing any action on focus as per design guidance.

Before:
hc-before

Updated:
hc-updated

Hover updated:
hc-hover-updated

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Feb 17, 2022
@tashatitova
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@karkarl
Copy link
Contributor

karkarl commented Feb 17, 2022

I don't think we can't remove VisualStates that already exist in the resource dictionary. It will cause the app to crash if someone is referencing it. @StephenLPeters

@tashatitova
Copy link
Contributor Author

@karenbtlai @StephenLPeters I can sure add these brushes back in, but wouldn't it feel like a bug if someone overrides them but they change nothing? better than crashing I suppose but not ideal either

@tashatitova
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tashatitova tashatitova merged commit 6225742 into main Feb 22, 2022
@tashatitova tashatitova deleted the user/tatito/calendardatepicker branch February 22, 2022 20:48
@StephenLPeters StephenLPeters added accessibility Narrator, keyboarding, UIA, etc area-DateTimePickers DatePicker, TimePicker, CalendarDatePicker, CalendarView team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Narrator, keyboarding, UIA, etc area-DateTimePickers DatePicker, TimePicker, CalendarDatePicker, CalendarView team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants