1

Is it possible to change the height (or add a padding to its content) of a react-native-screens/native-stack header? The default react navigation header has different style properties (such as height) than the native one has. The action buttons on the right should have a few px space to the bottom of the header when the header is collapsed (content scrolled).

enter image description here

2
  • post the minimum reproducible code which is causing the issue. Commented Jan 3, 2021 at 18:58
  • @KetanRamteke There is no issue as such, and the navigation is just created using the default code (const RootStack = createNativeStackNavigator<RootStackParamsList>();) and <RootStack.Screen name="Test" component={Test} />. This is more a general question if it's possible to achieve this and no code is necessary/helpful. Commented Jan 12, 2021 at 15:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.