Open sahad00 opened 2 days ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.75.3. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Newer Version of React Native is Available! |
---|---|
:information_source: | You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Let's add a repro here please @sahad00
I tried to repro this using this sample code.
import React from 'react';
import {View, StyleSheet, Button, Alert} from 'react-native';
const showAlert = () =>
Alert.alert(
'Alert Title',
'My Alert Msg My Alert Ms My Alert Msg My Alert Msg My Alert Msg My Alert Msg My Alert Msg My Alert Msgg My Alert Msg',
[
{
text: 'Cancel',
onPress: () => Alert.alert('Cancel Pressed'),
style: 'cancel',
},
],
{
cancelable: false,
},
);
const App = () => (
<View style={styles.container}>
<Button title="Show alert" onPress={showAlert} />
</View>
);
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
});
export default App;
@sahad00 Please update with valid reproducer.
Description
Creating the Native Alert.alert results in misaligned text on Android .
Steps to reproduce
Create an Alert.alert using React Native
React Native Version
0.75.0
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
Nil
Screenshots and Videos