Skip to content

FB24193708: UIButton inside a UIVisualEffect view with vibrancy presenting a UIMenu results in a bad animation on iOS 26+ #834

Description

@braker1nine

Submission Date

2026-08-06

Status

Open

Area

UIKit

Operating System Version

iOS 26

Type

Incorrect/Unexpected Behavior

Description

This requires a few things

  1. A UIButton inside a UIVisualEffectView with a UIVibrancyEffect
  2. A UIMenu on that UIButton
  3. iOS 26+

When you tap the button to present the menu (or long press if it’s configured that way), briefly the entire buttons frame will be rendered as if it’s a solid rectangle in the vibrancy view. Then when you dismiss it, for an extended period even after the animation has seemed to end (though I’m sure it’s still running) the same solid vibrant rectangle appears

I would expect the button to animate out exactly as it would without the vibrancy view backing it. Whatever is happening under the hood during that transition is creating a mask on the vibrancy view that’s the full button’s frame or more likely its layer. Since it seems to respect corner radius.

From a higher level, I suspect this is more specifically an issue with UIViewController.Transition.zoom.

The same issue occurs when you present a view using that transition and make its source a subview of a UIVisualEffectView with vibrancy. I’ve been able to work around that by using the actual vibrancy view as the source. But even that comes with a bit of minor artifact in the animation. UIButton + UIMenu provides no way to control the animation. I’ve filed a separate feedback requesting more control (FB24078828)

I’ve attached a project which demonstrates this issue both with UIButton + Menu and when presenting a sheet with UIViewController.Transition.zoom

Keywords

UIKit, animation

Prerequisites

  • The title follows the format FB<number>: <title>
  • I will keep this issue updated with Apple's responses

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions