javascript - Onsen UI pull hook throws error when used in tabbar -
i using pull hook component on page contains ons-list element. page 1 of 3 (also list pages) use tabbar component navigate between. use pull hook on 1 page.
when switching pages (via tabbar component) error gets thrown:
"error: undefined not function (evaluating 'element.off(:scroll",this._bindedonscroll)')_destroyeventlisteners@www/components/loader.js:1440:53691 _destroy@www/components/loader.js:1440:53771"
can pull hook component used tabbar?
the error happens when pull hook unloaded. it's issue in destructor.
if make tab "persistent" won't experience issue since won't unload pull hook:
<ons-tab persistent>
the error has been fixed in latest beta version of onsen ui (1.3.0-beta). can install "bower install onsenui#1.3.0-beta" or can wait 1.3.0 release due in couple of days.
Comments
Post a Comment