-
-
Notifications
You must be signed in to change notification settings - Fork 710
Fix search bar on iPadOS 26 #2435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
User description
What does this PR do
This adjusts the navigation bar item and search bar placement to fix iPadOS 26 layout issues.
Any background context you want to provide
When built against the iOS 26 SDK, the search bar moves to the bottom on iOS but causes layout issues on iPadOS.
Screenshots (important for UI changes)
PR Type
Bug fix
Description
Fixes search bar layout issues on iOS 26 SDK
Implements platform-specific navigation bar handling
Uses stacked search bar placement for iOS 26+
Preserves legacy navigation bar styling for older versions
Diagram Walkthrough
File Walkthrough
SideMenuView.swift
Add iOS 26 conditional navigation bar handlingPVUI/Sources/PVSwiftUI/SideMenu/SideMenuView.swift
setup
titleViewwithUIImageViewand setspreferredSearchBarPlacementto.stackedleftBarButtonItemconfiguration