Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[MdDatepicker] Bug: Inside of <md-list-item> crashes on Chrome when using "DD-MM-YYYY" as "dateFormat" #1907

Closed
DavidHtx opened this issue Aug 20, 2018 · 1 comment

Comments

@DavidHtx
Copy link

Steps to reproduce

This bug only happens in Chrome, it behaves normally in Firefox:

I have placed the date picker as an element inside of a list,
I have created a materialLocalConfig file to internationalize the vue-material elements,
and set the Vue.$material.locale to dutch (see sandbox)
which changes the "dateFormat" from "YYYY-MM-DD" to "DD-MM-YYYY".
Click on the date picker, select the 1st date of the month.
Chrome freezes.

Which browser?

Vue 2.5.17,
Vue-Material 1.0.0-beta-10.2.
Google Chrome Version 68.0.3440.106 (Official Build) (64-bit)

What is expected?

Selecting the date shouldn't freeze chrome, instead the datepicker should close normally as experienced in Firefox

Reproduction Link

https://codesandbox.io/s/rr2688lmjm

@DavidHtx DavidHtx changed the title [MdDatepicker] Inside of <md-list-item> crashes on Chrome when using "DD-MM-YYYY" as "dateFormat" [MdDatepicker] Bug: Inside of <md-list-item> crashes on Chrome when using "DD-MM-YYYY" as "dateFormat" Aug 20, 2018
@VdustR
Copy link
Member

VdustR commented Aug 20, 2018

duplicated. #1689

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants