As you can see from the image below the tab strip tabs can keep getting added and they do not care where the parent DIV or any other container ends. It would be appropriate for them to allow for scrolling if it goes outside the width of its container.
This is the way it is handled in jQuery
https://demos.telerik.com/kendo-ui/tabstrip/scrollable-tabs