Jemt / Fit.UI

Fit.UI is a JavaScript based UI framework built on Object Oriented principles
http://fitui.org
GNU Lesser General Public License v3.0
19 stars 7 forks source link

DatePicker: Show() throws error if not mounted in DOM #186

Closed Jemt closed 1 year ago

Jemt commented 1 year ago

The DatePicker control throws an error if Show() is called while control is not mounted.

new Fit.Controls.DatePicker().Show()

image

FlowIT-JIT commented 1 year ago

Turns out the error is also thrown if mounted, but at the same time not visible (part of render tree).