mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
* fix(mobile): let the chat transcript scroll by touch on the phone's web pages Gesture handler 3 (Expo 58 upgrade, #37935) gives a GestureDetector's view touch-action: none on web by default. The chat transcript's pinch-to-zoom detector sits on its scroller, so in the phone's WebView pages the browser refused every touch pan and no chat could scroll. Gesture handler 2 left it at auto. The row list now wraps its own scroller in MobileNativeChatPinchZoom, which keeps touch-action: auto. A browser render check pins the scroller's touch-action under the detector. * fix(mobile): keep the transcript pinch on its text size, not page zoom touch-action: auto let a two-finger pinch on the transcript zoom the whole page in the phone's web pages, so the transcript's text-size pinch never ran and a zoomed page stopped the composer lifting over the keyboard. pan-x pan-y keeps one-finger scrolling (and sideways code blocks) with the browser and hands the pinch to the detector. The render check now pans the transcript with one finger and pinches it with two, asserting it scrolls, the text scale changes and the page stays at scale 1.