I have 2 material accordions in separate tabs. When im going into 2nd tab, which has first expansion panel expanded by default, and trying to open last expansion panel (ACC 8 in my stackblitz example) it doesnt scroll into its content and its getting out of view.
I tried to solve it with scrollIntoView method in afterExpand and opened events but in best case it returns to correct position after scrolling to bottom. Is there a way to do this correctly?