You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<lx-tabs>
<lx-tab ng-repeat="_tab in tabs" lx.label="{{ _tab }}">
... some more dynamic content ...
</lx-tas>
</lx-tabs>
This must have worked with some older version of lumx, i guess 1.3, but after recent update to 1.4 and then 1.5 i'm receiving an error "cannot read property 'left' of undefined" in lumx.js (4994), which is: var indicatorLeft = activeTab.position().left;
Obviously there is no activeTab when there are no tabs at all, so activeTab.position() is undefined.
I have fixed this by adding ng-if="tabs.length > 0" to <lx-tabs>
kind regards,
Marat
The text was updated successfully, but these errors were encountered:
Hi,
i use lx-tab for danymic content categories, here is a simplified version of my code:
js:
html:
This must have worked with some older version of lumx, i guess 1.3, but after recent update to 1.4 and then 1.5 i'm receiving an error "cannot read property 'left' of undefined" in lumx.js (4994), which is:
var indicatorLeft = activeTab.position().left;
Obviously there is no activeTab when there are no tabs at all, so activeTab.position() is undefined.
I have fixed this by adding
ng-if="tabs.length > 0"
to<lx-tabs>
kind regards,
Marat
The text was updated successfully, but these errors were encountered: