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

[TimePicker][DatePicker] Opened-Closed VisualStates #10330

Open
moseeeu opened this issue Feb 5, 2025 · 0 comments
Open

[TimePicker][DatePicker] Opened-Closed VisualStates #10330

moseeeu opened this issue Feb 5, 2025 · 0 comments
Labels
area-DateTimePickers DatePicker, TimePicker, CalendarDatePicker, CalendarView feature proposal New feature proposal team-Controls Issue for the Controls team

Comments

@moseeeu
Copy link

moseeeu commented Feb 5, 2025

Describe the bug

Currently, TimePicker and DatePicker controls do not have Opened-Closed VisualStates like the ComboBox control. This limitation makes it difficult to apply custom animations or styles when the popup is opened or closed, restricting flexibility in UI design and user interaction.

Expected Behavior:

  • Introduce Opened and Closed VisualStates for both TimePicker and DatePicker controls.
  • Allow developers to trigger animations or style changes based on the open/close state of the dropdown or popup.

Current Behavior:

  • There are no built-in VisualStates to detect when the TimePicker or DatePicker popup is opened or closed.
  • Developers have to rely on workarounds, such as event handlers, which are less intuitive and harder to maintain.

Example Scenario:

When using ComboBox, developers can easily define visual transitions for opening and closing the dropdown using:

Image

Having similar VisualStates in TimePicker and DatePicker would simplify UI customization and improve code consistency across controls.

Benefits:

  • Enhanced UI customization capabilities.
  • Consistent behavior across commonly used controls (ComboBox, DatePicker, TimePicker).
  • Simplified development workflow by reducing the need for custom workarounds.

Thank you for considering this feature request!

@moseeeu moseeeu added the feature proposal New feature proposal label Feb 5, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Feb 5, 2025
@snigdha011997 snigdha011997 added 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 Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-DateTimePickers DatePicker, TimePicker, CalendarDatePicker, CalendarView feature proposal New feature proposal team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants