MacControlCenterUI icon indicating copy to clipboard operation
MacControlCenterUI copied to clipboard

Accommodations for SwiftUI window size animations

Open orchetect opened this issue 5 months ago • 0 comments

In macOS 26, it appears that SwiftUI will (finally) properly animate window size changes as a result of its content changing size.

There is a new windowResizeAnchor view modifier that allows specifying the anchor edge (or corner) of the window when this occurs.

This behavior should be tested for MenuBarExtra window resizing using a .top anchor. If any accommodations or updates are beneficial to MacControlCenterUI to aide or improve this behavior, those improvements should be made available conditionally on macOS 26 without increasing the minimum platform requirements for the package.

orchetect avatar Jun 10 '25 07:06 orchetect