microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.23k stars 1.14k forks source link

Fabric TextInput cursor disappears after resize (canary 776) #12775

Closed chrisglein closed 1 week ago

chrisglein commented 6 months ago

Problem Description

https://github.com/microsoft/react-native-windows/assets/26607885/a9e4408c-b4c4-4612-a7d5-3824f7215212

Steps To Reproduce

  1. Have a TextInput
  2. Type in it, see cursor
  3. Resize window
  4. Cursor gone :(

Expected Results

Cursor continues to render

CLI version

13.0.0

Environment

info Fetching system and libraries information...
System:
  OS: Windows 11 10.0.23660
  CPU: "(24) x64 AMD Ryzen Threadripper PRO 3945WX 12-Cores     "
  Memory: 48.92 GB / 63.86 GB
Binaries:
  Node:
    version: 18.16.1
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 9.5.1
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.9.34616.47 (Visual Studio Community 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.0-nightly-20240115-0c7008f28
    wanted: 0.74.0-nightly-20240115-0c7008f28
  react-native-windows:
    installed: 0.0.0-canary.776
    wanted: ^0.0.0-canary.776
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Target Platform Version

None

Target Device(s)

No response

Visual Studio Version

Visual Studio 2022

Build Configuration

Debug

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

https://github.com/chrisglein/artificial-chat/blob/fabric/src/Chat.tsx

TatianaKapos commented 5 months ago

strange, tested this on the current playground and I'm not seeing the cursor disappear. @chrisglein when you update your chatapp next, can you confirm that this is still an issue?

https://github.com/microsoft/react-native-windows/assets/42554868/a715788a-4e2e-422a-a1d0-aef0ababe504

TatianaKapos commented 1 week ago

closing as not seeing this anymore but we can reopen if it's still an issue :)