chrisdavies / tiny-date-picker

A small, modern, dependency-free date picker
https://chrisdavies.github.io/tiny-date-picker/
415 stars 88 forks source link

Destroy in PermanentMode is Noop #94

Closed cnatis closed 5 years ago

cnatis commented 5 years ago

The destroy method in permanent mode is a noop. The end result is even after I have removed the datepicker DOM and destroyed the instance it will continue to listen for events and attempt to open causing errors to be thrown due to undefined and null values.

chrisdavies commented 5 years ago

Fixed in the latest release. Thanks for the PR, and sorry for the delay. I've been offline for a while, thanks to a new kiddo. :)