Bug. Creating window in metro upd 4.2.25 fail by exception

General issues related to the use of Metro 4
Post Reply
nike80
Posts: 6
Joined: Fri Aug 10, 2018 1:54 am
Status: Offline

Bug. Creating window in metro upd 4.2.25 fail by exception

Post by nike80 » Wed Oct 17, 2018 12:14 am

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

User avatar
olton
Site Admin
Posts: 121
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Wed Oct 17, 2018 12:49 am

Thank you. Fixed in 4.2.26. You can download develop branch from https://github.com/olton/Metro-UI-CSS/tree/4.2.26

Post Reply