Go to ios/MyApp/AppDelegate.m and before add: = įinally, rebuild the apps to see the result of your edits. Set any of these options: Shake mouse pointer to locate: Make the pointer larger when you quickly move your finger on the trackpad or quickly move the mouse. Go to android/app/src/main/res/values/styles.xml and add the following lines to the custom section: #FF0000 On your Mac, choose Apple menu > System Preferences, then click Accessibility. Therefore, the right way to change the cursor color is by editing the native settings instead. Any input field or textarea embedded in WebView components will get the default cursor color on both platforms.On Android, highlighted text gets the same bright color as the cursor, and the drop-shaped guides below highlighted text are still stuck with the default color.= 'red' Īs of RN 0.63, this solution is still inefficient for at least two reasons: Many here suggested using selectionColor: import from 'react-native'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |