fix(#1247): keep the keyboard up through the whole mic hold (#1399)

This commit is contained in:
Nikhil Nair authored and GitHub committed 2026-09-30 11:17:10 +03:00
1 parent ee1d7a0b75
commit 57be85d2f7
2 files changed
+108 -74

No files matched your search

@@ -219,6 +219,10 @@ class VoiceNoteGestureTest {
composeTestRule.onNodeWithTag("mic_button").performTouchInput { down(center) }
composeTestRule.mainClock.advanceTimeBy(600)
// The strip takes the field's decoration box mid-hold; the field must
// keep its focus so the keyboard never collapses when recording starts
// (device follow-up, #1247).
composeTestRule.onNodeWithTag("chat_input").assertIsFocused()
composeTestRule.onNodeWithTag("mic_button").performTouchInput { up() }
composeTestRule.waitForIdle()