Commit graph appflowy-editor/example/ios/Podfile
Author SHA1 Message Date
Lucas
9bb1ca1fc5
fix: left handle scroll direction on iOS/Android (#1185)
* fix: correct auto-scroll direction for left selection handle drag on iOS

When dragging the left selection handle upward, the proxy rect used for
auto-scroll detection was built with offset & Size(1, edgeOffset), which
extends 220px downward from the selection start. This caused the bottom
of the rect to exceed the viewport bottom, triggering a downward scroll
(showing content below) — the opposite of the intended direction.

Fix by using Rect.fromLTWH(offset.dx, offset.dy - edgeOffset, 1, edgeOffset)
so the proxy rect extends upward, only triggering scroll-up when the
handle approaches the top edge of the viewport.

* chore: update iOS minimum deployment target to 13.0

* test: add auto_scroller proxy rect direction tests

Adds regression tests for the left selection handle auto-scroll bug
where the proxy rect incorrectly extended downward, triggering scroll
in the wrong direction. Verifies the rect extends upward from the
handle offset when direction is AxisDirection.up.

* fix: remove unused import in auto_scroller_test

* chore: code review
2026-03-18 11:45:25 +08:00
Lucas.Xu
f38328d9e5
chore: upgrade flutter version to 3.19.0 (#719) 2024-02-18 21:57:42 +08:00
Lucas.Xu
f944e5cf05
fix: DT_TOOLCHAIN_DIR path in Podfile for iOS and macOS (#483) 2023-09-20 14:07:25 +08:00
Lucas.Xu
c89ea36ce7
chore: sync the latest code from main repo (#25) 2023-03-22 16:36:32 +08:00
Lucas.Xu
5db0480075 chore: update LICENSE 2023-02-05 11:43:51 +08:00
Renamed from frontend/app_flowy/packages/appflowy_editor/example/ios/Podfile (Previous history)