I am displaying the same view via a push onto the secondary view of a modern uisplitviewcontroller and alternatively as a uisplitviewcontroller inspector pane.
When pushed (initially compact size class, then opened to regular), toolbar items are moved to the side as expected:
however when presented in an inspector pane the toolbar items are not moved to the side:
The toolbaritems contain one less image in the later case.
iOS 27.1 simulator