react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

TextInput focusable property should match react-native

Open TatianaKapos opened this issue 3 years ago • 5 comments
trafficstars

Problem Description

When TextInput has "focusable = false" you can't edit/copy/paste from it while you can in IOS/Android (and it looks like Web has no implementation of focusable).

On RNW, focusable to mapped to isTabStop and isEnabled (with isTabStop making the TextInput not being able to tab through or edit). Focusable is also the only way to access isEnabled and the visuals that come with it. We should discuss what properties we want focusable to be linked too for TextInput and if there's a better property to expose isEnabled.

Steps To Reproduce

  1. Set any TextInput to with focusable = false, you won't be able to edit it

Expected Results

You should be able to edit a TextInput with focusable="false"

CLI version

npx react-native --version

Environment

npx react-native info

Target Platform Version

10.0.19041

Target Device(s)

Desktop

Visual Studio Version

Visual Studio 2019

Build Configuration

Debug

Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/@tatianak/textinput-focusable

TatianaKapos avatar May 27 '22 00:05 TatianaKapos

Potentially related: #9826 #9327. @TatianaKapos can you build out a little table of what each platform is doing and what Windows is doing so it's clear what is wrong with Windows vs. what could be wrong with other platforms.

chrisglein avatar Jun 02 '22 18:06 chrisglein

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

ghost avatar Jun 09 '22 20:06 ghost

Looks like this was unintentionally closed out, @TatianaKapos fyi. Reopening it.

agniuks avatar Aug 23 '22 21:08 agniuks

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

ghost avatar Aug 30 '22 23:08 ghost

Putting it on the backlog so this doesn't get closed out again.

agniuks avatar Aug 30 '22 23:08 agniuks