Skip to content

Hide mini player during multi-selection#4659

Merged
kean merged 3 commits into
release/8.15from
alex/disable-tabbar-hiding-ios27
Jul 2, 2026
Merged

Hide mini player during multi-selection#4659
kean merged 3 commits into
release/8.15from
alex/disable-tabbar-hiding-ios27

Conversation

@kean

@kean kean commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

To test

  • Verify that the mini player now gets briefly hidden during multiple selection
Screenshot 2026-07-01 at 10 53 46 AM

Checklist

  • I have considered if this change warrants user-facing release notes and have added them to CHANGELOG.md if necessary.
  • I have considered adding unit tests for my changes.
  • I have updated (or requested that someone edit) the Event Horizon schema to reflect any new or changed analytics.

`setTabBarHidden(_:animated:)` is buggy on iOS 27, so make
`setEnclosingTabBarHidden` a no-op there for now. A follow-up ticket
tracks re-enabling this once Apple fixes the underlying issues.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 1, 2026 13:46
@kean
kean requested a review from a team as a code owner July 1, 2026 13:46
@kean kean added this to the 8.15 ❄️ milestone Jul 1, 2026
@kean
kean requested review from SergioEstevao and removed request for a team July 1, 2026 13:46
@dangermattic

dangermattic commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ This PR is assigned to the milestone 8.15 ❄️. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@kean kean added [Type] Fix [Cant Fix] iOS Bug Items we can't fix due to bugs in iOS labels Jul 1, 2026
@kean
kean marked this pull request as draft July 1, 2026 13:47
@kean
kean removed the request for review from SergioEstevao July 1, 2026 13:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Disables the app’s “enclosing tab bar hide/show” behavior on iOS 27+ as a workaround for a bug in setTabBarHidden(_:animated:), while preserving the existing behavior on iOS 26.

Changes:

  • Short-circuits setEnclosingTabBarHidden(_:animated:) on iOS 27+ (no-op workaround).
  • Leaves the iOS 26 UITabBarController.setTabBarHidden(_:animated:) path intact.

Comment on lines +8 to +11
// Workaround: `setTabBarHidden(_:animated:)` is buggy on iOS 27, so we
// disable tab bar hiding there for now. There's a follow-up ticket to
// re-enable this once Apple fixes the underlying issues.
guard #unavailable(iOS 27) else { return }
@kean kean changed the title Disable tab bar hiding on iOS 27 (workaround) Work around iOS 27 mini player safe-area issue when hiding the tab bar Jul 1, 2026
@kean
kean marked this pull request as ready for review July 1, 2026 15:52
@kean
kean requested review from a team and SergioEstevao and removed request for a team July 1, 2026 15:56
@kean
kean marked this pull request as draft July 1, 2026 15:57
@kean kean changed the title Work around iOS 27 mini player safe-area issue when hiding the tab bar Hide mini player during multi-selection Jul 1, 2026
@kean
kean marked this pull request as ready for review July 1, 2026 16:26

@SergioEstevao SergioEstevao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When testing this on iOS 26 and with the mini-player/tab bar minized I see this effect when activating multi-select

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2026-07-01.at.22.35.11.mov

@kean

kean commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

When testing this on iOS 26 and with the mini-player/tab bar minized I see this effect when activating multi-select

Good catch. I should've tested this. It was this line:

tabBarController.tabBarMinimizeBehavior = .never

@kean
kean requested a review from SergioEstevao July 2, 2026 13:45

@SergioEstevao SergioEstevao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working correctly now, thanks for addressing the bug. :shipit:

@kean
kean merged commit 3dd8fa5 into release/8.15 Jul 2, 2026
4 checks passed
@kean
kean deleted the alex/disable-tabbar-hiding-ios27 branch July 2, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Cant Fix] iOS Bug Items we can't fix due to bugs in iOS [Type] Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants