Tabbar addView doesn’t work when cells[] are empty. To simulate this you can open your example: Tabview: Adding and Removing tabs
-
Add new tab by pressing “Add tab”. Go to the new tab and check that content exists (“New content …”).
-
Remove all tabs by pressing “Remove tab” several times.
-
Add new tab by pressing “Add tab”. Check that content of the new tab is empty (because of error in webix.js).
-
Open browser console and see the error (“Uncaught TypeError: Cannot read property ‘style’ of null”).
Could you please suggest how to avoid this error? Thank you.