Description
Autofill suggestions are not visible if keyboardType='url' for TextInput
Problem:

Without keyboardType prop:

Mozilla browser:

Version
0.7
Output of npx react-native info
Binaries:
Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
Watchman: 2022.11.14.00 - /usr/local/bin/watchman
Steps to reproduce
- Use current project or install with "npx react-native init ..."
- Put TextInput on the screen
- setup keyboardType="url"
Snack, code example, screenshot, or link to a repository
import React from 'react';
import {
SafeAreaView,
StatusBar,
TextInput,
useColorScheme,
} from 'react-native';
import {
Colors,
} from 'react-native/Libraries/NewAppScreen';
const App = () => {
const isDarkMode = useColorScheme() === 'dark';
const backgroundStyle = {
flex:1,
backgroundColor: isDarkMode ? Colors.darker : Colors.lighter,
};
return (
<StatusBar
barStyle={isDarkMode ? 'light-content' : 'dark-content'}
backgroundColor={backgroundStyle.backgroundColor}
/>
);
};
export default App;
Description
Autofill suggestions are not visible if keyboardType='url' for TextInput
Problem:
Without keyboardType prop:
Mozilla browser:
Version
0.7
Output of
npx react-native infoBinaries:
Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
Watchman: 2022.11.14.00 - /usr/local/bin/watchman
Steps to reproduce
Snack, code example, screenshot, or link to a repository
import React from 'react';
import {
SafeAreaView,
StatusBar,
TextInput,
useColorScheme,
} from 'react-native';
import {
Colors,
} from 'react-native/Libraries/NewAppScreen';
const App = () => {
const isDarkMode = useColorScheme() === 'dark';
const backgroundStyle = {
flex:1,
backgroundColor: isDarkMode ? Colors.darker : Colors.lighter,
};
return (
<StatusBar
barStyle={isDarkMode ? 'light-content' : 'dark-content'}
backgroundColor={backgroundStyle.backgroundColor}
/>
);
};
export default App;