-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
Description
Description
Text does not become selectable after enabling selectable={true} property on ANDROID, on IOS it works without problems
Version
0.68.0-rc.2
Output of npx react-native info
OS: Windows 10 10.0.22000
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 2.63 GB / 15.73 GB
Binaries:
Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 28, 29, 30, 31
Build Tools: 28.0.2, 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0
System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version 2021.1.0.0 AI-211.7628.21.2111.8092744
Visual Studio: Not Found
Languages:
Java: 11.0.12
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.0-rc.2 => 0.68.0-rc.2
react-native-windows: Not Found
npmGlobalPackages:
*react-native*: Not Found
Steps to reproduce
- Running the command: react-native init projectName --version 0.68.0-rc.2
- Create the simple component simple text and try select
Snack, code example, screenshot, or link to a repository
Code to reproduce the problem
import React from 'react';
import {SafeAreaView, StyleSheet, Text, View} from 'react-native';
const App = () => {
return (
<View style={{justifyContent: 'center', alignItems: 'center', flex: 1}}>
<Text selectable={true}>text example</Text>
</View>
);
};
export default App;