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 with granularity other than day is buggy #1591

Closed
hartbit opened this issue Jan 29, 2025 · 0 comments · Fixed by #1604
Closed

[Bug]: DatePicker with granularity other than day is buggy #1591

hartbit opened this issue Jan 29, 2025 · 0 comments · Fixed by #1604
Assignees
Labels
bug Something isn't working

Comments

@hartbit
Copy link

hartbit commented Jan 29, 2025

Environment

Developement/Production OS: macOS 14.5
Node version: 20.18.0
Package manager: [email protected]
Radix Vue version: 1.9.13
Vue version: 3.5.13
CSS framework: [email protected]
Client OS: macOS 14.5
Browser: Firefox 134.0.2

Link to minimal reproduction

https://stackblitz.com/edit/frur97ig?file=src%2FApp.vue

Steps to reproduce

Play around with the reproduction.

Describe the bug

I noticed two bugs:

  • Selecting a day in the calendar resets the time to midnight.
  • Setting a time with a day selected resets the day to undefined.

Expected behavior

I expected that :

  • Selecting a day in the calendar does not affect the currently selected time.
  • Setting a time in the field does not affect the currently selected date.

Context & Screenshots (if applicable)

No response

@hartbit hartbit added the bug Something isn't working label Jan 29, 2025
@epr3 epr3 self-assigned this Feb 2, 2025
@zernonia zernonia linked a pull request Feb 4, 2025 that will close this issue
@zernonia zernonia closed this as completed Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants