On any Apple platform, that would be considered a serious bug. It shouldn’t ever be a problem in SwiftUI, and you can achieve the necessary dynamism without too much trouble by using layout constraints in both AppKit and UIKit.
Apple's own products do this often. For instance, an instrument in one of my tracks in iOS GarageBand is listed as "Kind...ass". It's supposed to be "Kindergarten Bass".