Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

[Calendar] Double click calendar cause double onChange

Open JobberRT opened this issue 2 years ago • 0 comments

Bug Report

If a calendar is poped up and shown, quickly clicks(I mean normal human doable double click) before calendar dispear will cause double multiple onChange event calls

Steps to reproduce

Using this example in JSFiddler Example

  1. Click to show the calendar
  2. Double click a date(since this is many people's first intuition)
  3. You will see the calendar called two times of onChange event and issues two AJAX request

Expected result

Calendar should only do one onChange event

Actual result

Calendar do the amount of clicks onChange event

Testcase

See above

Screenshot (if possible)

None

Version

All latest

JobberRT avatar May 06 '22 07:05 JobberRT