support icon indicating copy to clipboard operation
support copied to clipboard

Evaluate editor height on every show

Open taauntik opened this issue 1 year ago • 2 comments

Forum Post

Words from @ExtAnimal:

He’s hiding and showing components in there. So the potential height of the tabs changes. So that max height that is needed to make it NOT change height as tabs are changed will need to be recalculated.

taauntik avatar May 21 '24 13:05 taauntik

TabPanel.js needs

    onContentElMutation() {
        // When any content changes, then upon next show, applyAutoHeight must be called again 
        this.$measureHeight = true;
        super.onContentElMutation(...arguments);
    }

ExtAnimal avatar May 21 '24 14:05 ExtAnimal

But also what is observed in changeContentElMutationObserver will have to be configurable on the widget.

The TabPanel will need to include childList : true, subtree : true in its MutationObserver so that it gets notifications when anything inside it at any nesting level gets changed.

ExtAnimal avatar May 21 '24 15:05 ExtAnimal