naver / egjs

Javascript components group that brings easiest and fastest way to build a web application in your way.
https://naver.github.io/egjs
Other
935 stars 80 forks source link

Improve .resize() when adaptiveHeight option is used #478

Closed netil closed 7 years ago

netil commented 7 years ago

Description

When adpativeHeight option is set, internally panel's height value is set to on element's attribute. This behavior is to perform more efficiently not re-evaluate height on every flick action.

But, in the circumstances which needed to call .resize() (which means situation like orientation of device has been changed), the panel's height needed to re-evaluate depending on the contents its have.