NSView content disappears before animation starts on Sonoma

Note: This does not happen on MacOS 13 and older.

I have a NSView (parent) and multiple subviews (child nsviews). When I animate the frame of the subviews ex: [[view animator] setFrame:frame] to move them outside the parent view's frame, the contents of the subviews disappear/clipped before the animation starts. This started happening after installing Sonoma. I tried setting clipsToBounds to false and it did not make any difference.

  • Is anyone else seeing this behavior in Sonoma?
  • Why does appkit clip the contents before the animation starts? Is there a way to switch it to "clip after animation ends" ?
NSView content disappears before animation starts on Sonoma
 
 
Q