Open ardaOnal opened 6 months ago
Removing the Background
component worked:
const Background = ({ children }: Props) => (
<ImageBackground
source={require("../assets/background_dot.png")}
resizeMode="repeat"
style={styles.background}
>
<KeyboardAvoidingView style={styles.container} behavior="padding">
{children}
</KeyboardAvoidingView>
</ImageBackground>
);
const styles = StyleSheet.create({
background: {
flex: 1,
width: "100%",
// backgroundColor: "#12372A",
},
container: {
flex: 1,
padding: "8%",
marginTop: "3%",
width: "100%",
maxWidth: "100%",
alignSelf: "center",
alignItems: "center",
justifyContent: "center",
},
});
Issue Description
Content of
renderChatEmpty
slides down when keyboard is open.Video:
Steps to Reproduce / Code Snippets
Expected Results
Content of
renderChatEmpty
should remain where it is. The same doesn't happen when there are messages.Additional Information