Files
AFFiNE/packages/frontend/hosts/ios
DarkSky f150cb5604 fix(mobile,hosts): fix keyboard insets, native selection UI, and lifecycle retries
The shell padded the bottom edge by the keyboard height, and the embedded
page editor lifted its keyboard toolbar by the same height again. In Page
mode the editor now owns the bottom edge. The shell gives the editor its
resolved keyboard height, so the toolbar sits directly on the keyboard.

- Hide the TabBar while the software keyboard is up, as 0.27.5 AppTabs
  does. The accessibility tree follows the same rule.
- Move the focus from the editor to the shell when an overlay sheet opens
  over a page, so the keyboard goes down. The drawer keeps its own focus.
- Add NativeSelectionUi to MobileShellView. The iOS shell lets
  UITextInteraction draw the handles, caret, and selection. The Android
  shell draws the handles natively and keeps the GPU caret.
- Scroll a long Search query or drawer filter only as far as necessary to
  keep the caret or the end of the composition in view. The renderer, the
  scroll, and the IME rects and touch offsets read one shaped layout of
  the line, and place it in the field with one transform. A line that fits
  sits at the start edge of the locale, and its glyphs always run left to
  right in text order, also in RTL locales.
- Retry the Android bootstrap from onResume and onNewIntent while the
  allowlist is empty or the shell has not mounted the workspace that
  bootstrap opened. Stop after three automatic retries.
- Send accessibility events only while an accessibility service runs.
  The system clears the focus after the last service stops, and the
  event send threw at that time.
2026-12-05 04:10:13 +09:00
..