Skip to content

Fix header overlap issue on iOS Server Selection screen#6944

Open
Parsh wants to merge 1 commit into
feat/openspec-integrationfrom
fix/server-selection-header-overlap
Open

Fix header overlap issue on iOS Server Selection screen#6944
Parsh wants to merge 1 commit into
feat/openspec-integrationfrom
fix/server-selection-header-overlap

Conversation

@Parsh
Copy link
Copy Markdown
Collaborator

@Parsh Parsh commented May 8, 2026

This pull request addresses a persistent UI bug on iOS where the Server Selection screen header could overlap the status bar after switching tabs. The fix ensures robust safe-area handling and resets scroll/keyboard state during tab switches. The changes are scoped to ScreenWrapper.tsx and NodeSelection.tsx, and do not affect Android or other screens.

iOS Server Selection layout and safe-area fixes:

  • src/components/ScreenWrapper.tsx: Replaces the iOS-specific manual padding and useSafeAreaInsets() logic with a unified SafeAreaView approach for both platforms. This ensures the header and content always respect the safe-area insets natively, eliminating timing bugs from the JS hook. [1] [2]
  • src/screens/AppSettings/Node/NodeSelection.tsx: Adds logic to dismiss the keyboard and reset the ScrollView position to the top whenever the user switches tabs, preventing layout glitches and stale scroll offsets. [1] [2] [3]

Specification and documentation updates:

…sing SafeAreaView and dismissing keyboard on tab switch
@Parsh Parsh requested a review from cakesoft-vaibhav May 8, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants