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

Change event not firing using event delegation #745

Closed
jmross opened this issue Jan 27, 2021 · 1 comment
Closed

Change event not firing using event delegation #745

jmross opened this issue Jan 27, 2021 · 1 comment

Comments

@jmross
Copy link

jmross commented Jan 27, 2021

After upgrading to version 1.13.16 from 1.13.14, events aren't firing when using event delegation when I change the time.

Here's an example:

http://jsfiddle.net/56npLyth/

The event fires when changing the second input which isn't a timepicker.

Using 1.13.14, 'test' is outputted to the console when selecting a time in the timepicker.

I've tried other events like 'selectTime' and 'changeTime' as well but they don't seem to be firing either.

It seems to fire if I type in the input. Using the timepicker dropdown doesn't fire the event though.

Thanks

@jmross jmross changed the title Event delegation not working Change event not firing using event delegation Jan 27, 2021
@jonthornton
Copy link
Owner

@jmross thank you for reporting this! It seems I made an incorrect assumption about the CustomEvent API. Should be fixed in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants