Files
Sable/src/app
Erwan Leboucher 47dbbbddb2 fix(android): dismiss overlays on system back instead of navigating away
Add useDismissOnBack(requestClose, enabled) hook to androidBack utils and
wire it into full-screen and interaction-blocking overlays. On Android the
system back action (edge-swipe and 3-button nav) was passing through these
overlays and navigating the underlying route, leaving the overlay open.

Wired overlays:
- Modal500: Room Settings, Space Settings, Settings shallow route
- MobileSwipeDownModal: message context menu, header menu, nav sidebar menu
- ImageViewer (refactored from inline handler)
- GlobalModalManager: Delete, Report, Source, Reactions, EditHistory,
  ReadReceipts (gated, excludes Forward and MobileOptions)
- MessageForward: forward picker
- IncomingCallModal (gated by open state)
- DeviceVerification
- Emoji boards in RoomInput, Reactions, MessageEditor (gated, the latter via
  a MobileEmojiOverlay wrapper since its state comes from a UseStateProvider
  render-prop)
- FileContent text and PDF viewers (gated)
2026-07-23 18:09:25 +02:00
..
2026-05-01 04:59:25 +03:00