Mobile - remaining dialogs block swiping and can hide their buttons below the screen on Android phones

Description

Problem

AP-2442 fixed three dialogs on Android phones (Work item type mapping, Save / Edit filter, Saved filters): swipes were blocked unless the dialog content was long enough to scroll, and the dialog was as tall as the app iframe, which put Cancel and Save below the visible screen. The other dialogs drawn inside the app page use the same Atlaskit modal and have the same structure, so they are expected to behave the same way. They were not tested on a phone.

Dialogs found in the code:

  • Session expired

  • AI template preview

  • Slack: connection form, connection list confirmation, test message (with AP-2146 also the Teams ones, which share the Chat components)

  • Clear webhook call history confirmation

  • Delete work calendar confirmation

Change

  • Check the dialogs above on an Android phone first. If they work, close this ticket.

  • Give the dialogs one shared solution instead of a fix per dialog: swiping works anywhere in the dialog and around it (useNativeTouchScroll from AP-2442), and on phones the dialog ends below its content, so its buttons are visible without scrolling. Move the three dialogs of AP-2442 to it.

  • The empty modal in ApprovalsTabContent (width and height 0), used only to lock scrolling, must not be affected.

Start after AP-2442 is confirmed by QA and merged.

Acceptance criteria

  • On an Android phone every dialog above can be scrolled by a swipe anywhere in it, and its buttons can be reached.

  • Desktop size, mouse wheel and keyboard behaviour stay the same.

  • Checked in Jira and in Confluence.

Manual tester notes

  • Android phone (Chrome or the Jira app): open each dialog above: the buttons are visible without scrolling when the content fits, and otherwise a swipe reaches them.

  • Repeat the checks of AP-2442 for Work item type mapping, Save / Edit filter and Saved filters.

  • Desktop: the dialogs look and work as before.