I have my own customised UI for the block tune menu and I'm rendering it in renderSettings(). But now I want to render the renderSettings() again in order to update my UI instantly. I have already called it once so, if I call it again I am getting an infinite rendering. I am using raw HTML dom elements to make my UI because the UI is a bit complex. Because of that, can't use the closeOnActivate API on my div tag.
Does anyone know how to avoid this situation or work around it?
renderSettings () {
div
return div;
}