Page 1 of 1

Bug. Creating window in metro upd 4.2.25 fail by exception

Posted: Wed Oct 17, 2018 12:14 am
by nike80
Just go to Metro desktop sample and try create window
https://metroui.org.ua/examples/desktop/desktop.html

It's no possible, creating failed by exception
metro.js:23791 Uncaught TypeError: Cannot read property 'offsetHeight' of undefined
at Object._setPosition (metro.js:23791)
at metro.js:23778
_setPosition @ metro.js:23791
(anonymous) @ metro.js:23778
setTimeout (async)
_create @ metro.js:23777
init @ metro.js:23674
(anonymous) @ metro.js:406
each @ jquery-3.3.1.js:354
each @ jquery-3.3.1.js:189
$.fn.(anonymous function) @ metro.js:405

Re: Bug. Creating window in metro upd 4.2.25 fail by exception

Posted: Wed Oct 17, 2018 12:49 am
by olton
Thank you. Fixed in 4.2.26. You can download develop branch from https://github.com/olton/Metro-UI-CSS/tree/4.2.26