fix: reanimated bundle mode compatibility for `KeyboardChatScrollView` (#1556)
## 📜 Description Fixed an issue that is caused by deep workletization when using `KeyboardChatScrollView`. ## 💡 Motivation and Context <!-- Why is this change required? What problem does it solve? --> <!-- If it fixes an open issue, please link to the issue here. --> Same fix that we did in https://github.com/kirillzyusko/react-native-keyboard-controller/issues/395 (but now only targeting `KeyboardChatScrollView`). Ideally would be to cover such things with custom eslint plugin, but I don't have resources for creating one, so just replicating fix again 🤷♂️ Closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/1555 ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### JS - avoid using `Platfrom.OS` directly in worklet because such construction tries to bundle whole react-native into worklet; ## 🤔 How Has This Been Tested? Tested via CI. ## 📸 Screenshots (if appropriate): <!-- Add screenshots/video if needed --> <!-- That would be highly appreciated if you can add how it looked before and after your changes --> ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
K
Kirill Zyusko committed
0b01fcdb7c22e24f60ca3d7d35f9450f201aa4c9
Parent: 6055b47
Committed by GitHub <noreply@github.com>
on 7/17/2026, 3:28:02 PM