You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.
On the console again run document.getElementsByClassName('datepicker').length
You should get about 81
Because the DatePicker JS is blithely injecting more datepicker divs into the page, they just keep racking up. It's worth noting that these are being added directly to the root node of the page, rather than into the content frames that GWT normally uses.
I'd hope we could cleanly destroy these on transition to another presenter, but am not sure if that's the role of the component or the JS lib. Let me know what you think.
The text was updated successfully, but these errors were encountered:
To reproduce:
Visit: http://gwtbootstrap.github.io/#component:datepicker
In Chrome, open Dev Tools and run
document.getElementsByClassName('datepicker').length
You should get
10
Now jump back and forth between the following two links about four times:
http://gwtbootstrap.github.io/#gwt:
http://gwtbootstrap.github.io/#component:datepicker
On the console again run
document.getElementsByClassName('datepicker').length
You should get about
81
Because the DatePicker JS is blithely injecting more
datepicker
divs into the page, they just keep racking up. It's worth noting that these are being added directly to the root node of the page, rather than into the content frames that GWT normally uses.I'd hope we could cleanly destroy these on transition to another presenter, but am not sure if that's the role of the component or the JS lib. Let me know what you think.
The text was updated successfully, but these errors were encountered: