SIGN IN SIGN UP

fix: overscroll during interactive dismissal using `KeyboardChatScrollView` component (#1565)

## 📜 Description

Fixed a problem with unexpected scroll when you close keyboard
interactively 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. -->

The issue stems from the fact that we always update scroll position
after starting keyboard movement. However we have one exception. If we
dismiss keyboard interactively then scroll must be owned by UIKit, not
by us. If we try to modify it the behavior will look unnatural.

So in this PR I added conditional code that skips the update when
keyboard was dismissed interactively.

Closes
https://github.com/kirillzyusko/react-native-keyboard-controller/issues/1564

## 📢 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 -->

### iOS

- don't update `contentOffsetY` after interactive dismissal;

## 🤔 How Has This Been Tested?

Tested manually on iPhone 17 Pro (iOS 26.2).

## 📸 Screenshots (if appropriate):

|Before|After|
|-------|-----|
|<video
src="https://github.com/user-attachments/assets/9e74f057-d107-482e-916b-abf9b3532626">|<video
src="https://github.com/user-attachments/assets/a427e4e5-2cf5-4cc5-9d5d-7fc3ee90884b">|

## 📝 Checklist

- [x] CI successfully passed
- [x] I added new mocks and corresponding unit-tests if library API was
changed
K
Kirill Zyusko committed
b5fe11eef10b530edb4c2b6bf3108ff090555cae
Parent: 2bb2323
Committed by GitHub <noreply@github.com> on 7/24/2026, 8:04:21 AM