Commit ff963ee
fix: wrap setGhostText command dispatch in TARGET_OS_OSX guard
The command dispatch was calling [componentView setGhostText:] unconditionally,
but the protocol method is only declared under #if TARGET_OS_OSX. This caused
iOS and visionOS builds to fail with "no known instance method for selector".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9da4c7d commit ff963ee
1 file changed
Lines changed: 4 additions & 2 deletions
File tree
- packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
0 commit comments