The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
This is only an issue in the component event "componentOpen" and works as expected everywhere else.
It works fine if you specify the component by reference, like render: "{|myTag}".
But it just draws it twice when you do render: "\";
It looks like it's related to the sequence with which components get rendered. Custom elements render automatically in a separate place in the core to the main component render, which is where I suspect the problem lies. It would explain the double render, because the same render code would get called twice.
It's a niche bug, but it needs to get fixed as it may show up any other flaws, so I'm doing this one now.
This is only an issue in the component event "componentOpen" and works as expected everywhere else.
It works fine if you specify the component by reference, like render: "{|myTag}".
But it just draws it twice when you do render: "\ ";
It looks like it's related to the sequence with which components get rendered. Custom elements render automatically in a separate place in the core to the main component render, which is where I suspect the problem lies. It would explain the double render, because the same render code would get called twice.
It's a niche bug, but it needs to get fixed as it may show up any other flaws, so I'm doing this one now.