Twipped / Kalendae

A javascript date picker that just works.
MIT License
1.99k stars 285 forks source link

Calendar not working in MS Edge and partly in Chrome / Firefox #227

Open patrick-hintermayer opened 5 years ago

patrick-hintermayer commented 5 years ago

I noticed that the calendar ist not working in the MS Edge Browser. When I click on a date or want to change the month, nothing happens. Although it works on the previous IE 11 and the latest Chrome and Firefox on my Windows 10 computer. My colleague noticed the same issues on his new laptop with the latest Chrome and Firefox without getting any errors, so I can't identify the cause.

kostyantin2216 commented 5 years ago

We have a similar issue and we noticed that it happens on laptops with touch screens, if we use the mouse on the calendar then we cannot pick a date or choose a month but if we use the touch screen it works, seems like an issue with event types, is there any work around for this we need this fixed ASAP.

There are no errors in the console and we tested this on the lastest versions of Chrome, Chrome Canary and Firefox on Windows 8.

EDIT: After looking into this i found what was causing this behavior for us, have a look if this is the same issue as you have, i have posted it in a new issue here: #228

patrick-hintermayer commented 5 years ago

@kostyantin2216 Thanks for your update. We already implemented a work-around but I'll look into it (#228)

EDIT: My colleague also has a laptop with a touchscreen, so it's probabaly the same issue as described in #228

Eldzej commented 5 years ago

@patrick-hintermayer Could you please share what was your work-around solution to this issue?

patrick-hintermayer commented 5 years ago

As described in #228 I basically removed the if / else part and just wrote down elem.addEventListener(eventName, listener, false);