Skip to content

PRD-2110: Edge-to-edge, 3-button-navigation bar bottom paddings fix#24

Merged
veliseev93 merged 2 commits intoPRD-2080-Expo-SDK-54from
PRD-2110-Android-layout-fix
Dec 29, 2025
Merged

PRD-2110: Edge-to-edge, 3-button-navigation bar bottom paddings fix#24
veliseev93 merged 2 commits intoPRD-2080-Expo-SDK-54from
PRD-2110-Android-layout-fix

Conversation

@Tomass673
Copy link
Collaborator

@Tomass673 Tomass673 self-assigned this Dec 26, 2025
@Tomass673 Tomass673 assigned veliseev93 and unassigned Tomass673 Dec 27, 2025
@Tomass673 Tomass673 requested a review from veliseev93 December 27, 2025 04:47
const visualPadding = 16;

if (Platform.OS === 'android') {
return Math.max(bottom, minPadding) + visualPadding;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please clarify, why do we need minPadding value and this logic here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In 3-button navigation case useSafeAreaInsets returns 0. So bottom ui elements will "stick" to the bottom of the screen without any paddings. That's why i added minPadding here.

@veliseev93 veliseev93 assigned Tomass673 and unassigned veliseev93 Dec 29, 2025
@Tomass673 Tomass673 assigned veliseev93 and unassigned Tomass673 Dec 29, 2025
@veliseev93 veliseev93 merged commit d58daf5 into PRD-2080-Expo-SDK-54 Dec 29, 2025
@veliseev93 veliseev93 deleted the PRD-2110-Android-layout-fix branch December 29, 2025 08:57
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