Skip to content

Words predictions are hidden if keyboardType="url" #35651

Description

@MykolaSauliak

Description

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

Problem:

Without keyboardType prop:

screenshot_without_keyboard_type

Mozilla browser:

screenshot_20221215-111719_firefox

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions