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

Selected value disappears when clicking outside datepicker and using internal-model-change #848

Closed
laurens94 opened this issue May 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@laurens94
Copy link

Describe the bug
Since version 8.4.0 the selected value disappears whenever I click outside the modal.

To Reproduce
This only seems to happen when using the @internal-model-change event.

  1. Go to https://stackblitz.com/edit/vuepic-vue-datepicker-1huhba?file=src%2Fcomponents%2FPlayground.vue
  2. Click on the datepicker
  3. Select a date
  4. Open the datepicker again
  5. Click outside the picker modal
  6. See how the selected value disappears

Expected behavior
I expect the same behavior as when @internal-model-change is not being used.

Screenshots

The issue

Screen.Recording.2024-05-01.at.14.27.04.mov

Expected behavior

Screen.Recording.2024-05-01.at.14.27.57.mov

Desktop & mobile (please complete the following information):

  • Browser: Firefox
  • Library version: 8.4.0+
@laurens94 laurens94 added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels May 1, 2024
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label May 2, 2024
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

No branches or pull requests

2 participants