bug in tabbar close button

Hi,

I found a problem in the app I was developing. It happens when you try to close a selected tabbar.

You can see it here:

https://snippet.webix.com/f9bj3zys

If you close the selected tab, an error happens. In the snippet tool I can only reproduce it when selecting the GPL version (although I am using the PRO in my setup).

Apparently, it seems that the bug is inside the function:

this._setNextVisible(options, index$$1);

which apparently sets the next visible view to the current view (which does not exist anymore).

Any help with this would be appreciated.

Many thanks.

Hey @ocanela,

I found a problem in the app I was developing. It happens when you try to close a selected tabbar

Yep, you are right, this was found and reported as a bug not that long ago. The reason why you are only able to reproduce the issue in the snippet tool while using the 7.0 GPL version, is because the bug was already fixed in the PRO version as of 7.0.2, and our snippet tool is automatically updated to the latest version of Webix (7.0.3 as of now). Since the issue has already been fixed, I recommend updating at your earliest convenience.

If you are currently unable to update, please use this solution as a temporary workaround: https://snippet.webix.com/798iyvtb.

Hi @Dzmitry,

Great, thanks. I will update to the newest version (thanks also for the temporary workaround).

Best regards,