About 370,000 results
Open links in new tab
  1. React Native - Device back button handling - Stack Overflow

    Jul 11, 2017 · Using react native, this will handle the back button and gesture too. It implements a scenario where you confirm if the user wants to exit the app: import these 2 react native libraries: import {BackHandler, Alert} from 'react-native'; And place this in the screen you want to disable the back gesture:

  2. React Native done button above keyboard - Stack Overflow

    Jan 13, 2022 · You can use React-native's KeyboardAvoidingView Component as: <KeyboardAvoidingView keyboardVerticalOffset={50}> // View you want to be moved up when keyboard shows. </KeyboardAvoidingView> keyboardVerticalOffset={50} is the margin between the keyboard and the view, which will be the height of view or button you want.

  3. ios - React native app button click does not work in expo for my ...

    Feb 26, 2024 · I'm using expo to test my react native application and when testing with an IPhone, none of the buttons are responsive. It's completely successful with android, and other features work with the Iph...

  4. react native - Add space between button - Stack Overflow

    Apr 30, 2020 · You can apply this styling to View component in order to get space between two buttons. Also import Dimensions from react-native and adjust the width of View according to your need.

  5. jestjs - React Native Test Button Press - Stack Overflow

    Oct 13, 2018 · I am trying to test calling a component method from a React Native Button element. For some reason, the test fails unless I do BOTH of these things. wrapper.find(Button).first().props().onPress();

  6. Hide/Show components in react native - Stack Overflow

    In react or react native the way component hide/show or add/remove does not work like in android or iOS. Most of us think there would be the similar strategy like. View.hide = true or parentView.addSubView(childView) But the way react native work is completely different.

  7. React Native Border Radius with background color

    Jan 27, 2016 · In React Native, borderRadius is working but the background color given to the button stays a square ...

  8. Full width button w/ flex-box in react-native - Stack Overflow

    Dec 1, 2015 · Full width button w/ flex-box in react-native. Ask Question Asked 9 years, 4 months ago.

  9. Button width and radius with react native android

    Jan 7, 2019 · Button width in react-native-paper Hot Network Questions Is there a way to save the current path to a variable in a batch file in MS-DOS 6.0 without third-party tools?

  10. How to change background color of react native button

    Mar 2, 2018 · I don't know why it took me 4-8ish hours of intermittent Googling over 2 days for someone to finally tell me how to edit a button. I found buttonStyle, but it seemed nobody bothered to mention you had to use the Button component from the "React Native Elements" package to use buttonStyle. Thank you –

Refresh