Open yedpodtrzitko opened 11 years ago
I think problem is in datepicker
plugin. Also I think it should be encapsulated via can.control.plugin
(see http://canjs.us/#plugins-can_control_plugin ).
When this pull request will be accepted, we set the parent element inside control's scope. Then datepicker will be removed automatically when control is destroyed.
https://github.com/elasticsales/bootstrap-datepicker/commit/5b6d9385691bda2b6a7d471e523b177692dc811c
<body>
content is chained to existing one and the whole app gets slower and slower.steps to reproduce (+example):
random clicking result (mostly articles/new article/photos/new photo):