nazar-pc / PickMeUp

Really simple, powerful, customizable and lightweight standalone datepicker
BSD Zero Clause License
616 stars 191 forks source link

Incorrect calendar appearance after clearing the field #215

Open evdevel opened 5 years ago

evdevel commented 5 years ago

Hello. Faced such problem when using two inputs. The calendar briefly opens for the first input. Example: https://jsfiddle.net/EvgeniyK/xk9ae4cf/1/

Actions:

  1. Choose a date in the first input
  2. Highlight inserted into the input date and remove it using backspace
  3. Select a new date without closing the calendar
  4. Click on the second input

I suggest to add $(target).blur(); https://github.com/nazar-pc/PickMeUp/blob/506c9f16f0436cb2a63783cb4f616c8b064cf925/js/pickmeup.js#L778

nazar-pc commented 5 years ago

Not sure what is wrong exactly. Can you describe what you expect to see and what happens instead?

evdevel commented 2 years ago

Sorry for such later answer =) I hope on screen record will be see. issue

https://github.com/nazar-pc/PickMeUp/pull/240