react-native-dialog-component icon indicating copy to clipboard operation
react-native-dialog-component copied to clipboard

How i can edit height of overlay ?

Open eslambasher opened this issue 8 years ago • 4 comments

hello, i try to edit the height of overlay because, when I do it with ScrollView, it made me an empty space between Dialogue and the main page screenshot_1503316233

Someone can help please ?

eslambasher avatar Aug 21 '17 11:08 eslambasher

@eslambasher You can not change overlay height. 🤔 So strange could you show your code?

jacklam718 avatar Aug 21 '17 15:08 jacklam718

 <KeyboardAvoidingView behavior='padding' keyboardVerticalOffset={Platform.select({ios: 0, android: 95})} style={{flex:1,  /*width: window.width/ 1.4 */}}>
<ScrollView>
Inputs ,,,
Pickers ..
</ScrollView>
there are dialogs here, 3 dialogs ... and i call it with Action button ..
        <ActionButton style={styles.menuButton} buttonColor="rgba(231,76,60,1)">
          <ActionButton.Item buttonColor='#9b59b6' title="Ajoute une couche" onPress={() => console.log("notes tapped!")}>
            <MaterialIcons name="add-circle" style={styles.actionButtonIcon} />
          </ActionButton.Item>
          <ActionButton.Item buttonColor='#3498db' title="Enregistrement" onPress={() => { this.dialogComponentA.show() }}>
            <MaterialIcons name="mic" style={styles.actionButtonIcon} />
          </ActionButton.Item>
          <ActionButton.Item buttonColor='#1abc9c' title="Ajoute un prelevement" onPress={() => { this.dialogComponent.show();}}>
            <MaterialIcons name="add-circle" style={styles.actionButtonIcon} />
          </ActionButton.Item>
          <ActionButton.Item buttonColor='deepskyblue' title="Fin de sondage" onPress={() => { this.dialogComponentS.show();}}>
            <MaterialIcons name="check-circle" style={styles.actionButtonIcon} />
          </ActionButton.Item>
</ActionButton>
</KeyboardAvoidingView>

eslambasher avatar Aug 21 '17 18:08 eslambasher

do you know why it make to me empty space ?

eslambasher avatar Aug 21 '17 18:08 eslambasher

I've same problem

DeVoresyah avatar Jan 30 '19 10:01 DeVoresyah