Webix Throwing Uncaught Exception for SVG elements

I’m using the Template component to display an SVG element.

However, when I click inside my SVG element, webix is throwing an uncaught exception.

I’m using webix UI v.2.3.8 trial version, using the webix_debug.js file.

On line 5628 in the webix_debug file, webix is trying to access the className of the SVG element on the click event handler, and attempting to do a split() call as though it were a string value. However, SVG elements store their className property as an object and not as a string like DOM elements DOM elements.

Can we fix the click mouse event handler to first check if the className is a string type? Or else I can’t use the Template component to store my SVG layer.

I have sent you a link to the updated build, please try to use it instead of the original one. It must work correctly with SVG elements.