Auv3 resizing issue on macos (not ios)

the demo auv3 plugin doesn’t resize correctly in logic and garageband. i believe this is a juce bug - apple’s sample auv3 does not have this problem. see this video for an example of both side-by-side in logic.

i found mention of this in a thread on another forum and the suggestion there was that this code is responsible for the (working) resizing in the apple demo code:

    func pinToSuperviewEdges() {
        guard let superview = superview else { return }
        translatesAutoresizingMaskIntoConstraints = false
            topAnchor.constraint(equalTo: superview.topAnchor),
            leadingAnchor.constraint(equalTo: superview.leadingAnchor),
            bottomAnchor.constraint(equalTo: superview.bottomAnchor),
            trailingAnchor.constraint(equalTo: superview.trailingAnchor)

i’m currently trying to integrate this into the juce auv3 wrapper but i’m wondering if anyone else has figured this out on their own or if the juce folks are aware/working on a solution as well?