The pre selected segment is being cutted off the screen when the component is inicialized, only after selecting another segment the focus is correct.
Already tried scrollIntoView on ngAfterViewInit, also Change Detector Ref but did not worked.
Expected behavior:
The segment must load horizontally scrolled to the end of the screen.
Current Behavior:

link with a demo of the behavior https://stackblitz.com/edit/ionic6-angular13-tirtee?file=src%2Fapp%2Fapp.component.ts