Description
After upgrading the project to Expo 52 I discovered, that the InputAccessoryView stopped working, if there are multiple TextInputs, that share the same inputAccessoryViewID.
For clarity, I reproduced the issue in the snack.expo.dev directly in the example on InputAccessoryView.
If you run the example with Expo 51 (react-native v0.74.5) everything works as expected, it doesn't matter, if I focus the first or the second TextInput.
But if I change the Expo version to 52 (react-native v0.76.2), the InputAccessoryView shows only after focusing the first TextInput.
At first I reported the issue in the expo repository expo/expo#33069 .
But it looks like the issue is in the react-native library
Steps to reproduce
- Open https://snack.expo.dev/LrCtZwQpPEm0SswYOmSQn
- In bottom right corner select Expo v52.0.0 and enable Preview
- In upper right corner select iOS
- When the app starts running click on the first input -> The InputAccessoryView is there
- then click on the second input -> The InputAccessoryView dissapears
If you repeat these steps but with the Expo v51.0.0 the InputAccessoryView is visiblle for both Inputs.
React Native Version
0.76.2
Affected Platforms
Runtime - iOS
Output of npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/LrCtZwQpPEm0SswYOmSQn
Screenshots and Videos
No response
Description
After upgrading the project to Expo 52 I discovered, that the InputAccessoryView stopped working, if there are multiple TextInputs, that share the same inputAccessoryViewID.
For clarity, I reproduced the issue in the snack.expo.dev directly in the example on InputAccessoryView.
If you run the example with Expo 51 (react-native v0.74.5) everything works as expected, it doesn't matter, if I focus the first or the second TextInput.
But if I change the Expo version to 52 (react-native v0.76.2), the InputAccessoryView shows only after focusing the first TextInput.
At first I reported the issue in the expo repository expo/expo#33069 .
But it looks like the issue is in the react-native library
Steps to reproduce
If you repeat these steps but with the Expo v51.0.0 the InputAccessoryView is visiblle for both Inputs.
React Native Version
0.76.2
Affected Platforms
Runtime - iOS
Output of
npx react-native infoStacktrace or Logs
Reproducer
https://snack.expo.dev/LrCtZwQpPEm0SswYOmSQn
Screenshots and Videos
No response