FlexLayout
FlexLayout copied to clipboard
highlighting a tabset
hi, i'd like to be able to display a highlight (css border) around a tabset. Is there a way to do this with the existing CSS or do you need to provide a config className on the flexlayout__tabset div?
I think you can do this by getting the selected tab of the tabset, calling getTabRect on it to get the coordinates, and then rendering a custom element over the layout with the desired outline.
Unfortunately since tabsets do not have DOM nodes it is not possible to do this using only CSS. And since tabs do not give you their DOM node you cannot manipulate the existing elements.