appandflow / appandflow/react-native-transformer-text-input
[iOS] "onChangeText" call after focus/blur after touch on input
- 主要語言
- TypeScript
- 星號
- 178
- 分支
- 5
- 平均合併
- 9 小時 24 分鐘
- 30 天內合併 PR
- 1
描述
### Before submitting a new issue
- [x] I tested using the latest version of the library, as the bug might be already fixed.
- [x] I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
- [x] I checked for possible duplicate issues, with possible answers.
### Bug summary
iPhone 17 Pro Max iOS 26.3, React native 0.85.3, react-native-transformer-text-input@0.1.0,
"onChangeText" call after focus/blur after touch on input
Example:
export function createBaseTransformer(interceptors: InterceptorFn[] = []) {
return new Transformer(
({ value, previousValue }) => {
'worklet';
return { value, selection };
},
);
}
const baseTransformer = useMemo(
() => createBaseTransformer(),
[],
);
return {
console.log('CHANGE:7:', text); // <-- call on focus/blur on touch
}}
/>
### Library version
0.1.0
### Environment info
```shell
System:
OS: macOS 15.7.7
CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
Memory: 1.60 GB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.22.3
path: /Users/user/.nvm/versions/node/v22.22.3/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 10.9.8
path: /Users/user/.nvm/versions/node/v22.22.3/bin/npm
Watchman:
version: 2026.05.18.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/user/.rvm/gems/ruby-2.7.8/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 25.2
- iOS 26.2
- macOS 26.2
- tvOS 26.2
- visionOS 26.2
- watchOS 26.2
Android SDK:
API Levels:
- "21"
- "22"
- "23"
- "24"
- "25"
- "26"
- "27"
- "28"
- "29"
- "30"
- "31"
- "32"
- "33"
- "34"
- "35"
- "36"
Build Tools:
- 30.0.2
- 30.0.3
- 31.0.0
- 33.0.0
- 33.0.2
- 34.0.0
- 35.0.0
- 36.0.0
System Images:
- android-21 | Google APIs Intel x86_64 Atom
- android-28 | ARM 64 v8a
- android-28 | Google Play Intel x86 Atom
- android-34 | Google APIs Intel x86_64 Atom
- android-34 | Google Play Intel x86_64 Atom
- android-35 | Google Play Intel x86_64 Atom
- android-36.1 | Pre-Release 16 KB Page Size Google Play Intel x86_64 Atom
- android-36 | Google Play Intel x86_64 Atom
- android-37.0 | Pre-Release 16 KB Page Size Google Play Intel x86_64 Atom
- android-Baklava | Google Play Intel x86_64 Atom
- android-TiramisuPrivacySandbox | Google Play Intel x86_64 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2025.1 AI-251.25410.109.2511.13752376
Xcode:
version: 26.3/17C529
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 2.7.8
path: /Users/user/.rvm/rubies/ruby-2.7.8/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.1.3
wanted: ^20.1.3
react:
installed: 19.2.3
wanted: 19.2.3
react-native:
installed: 0.85.3
wanted: 0.85.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: true
```
### Steps to reproduce
1. Create base TransformerTextInput
2. Use "onChangeText" with log
### Reproducible example repository
you can use any test project
貢獻指南
評估
這個 Issue 還沒有評估資料。