Skip to content

[Bug]: Software keyboard persists after dismissing TaskCreatorDialogContent by clicking outside #2463

@xumingxiao123

Description

@xumingxiao123

Checklist

Describe the bug

When the "New Task" (TaskCreatorDialogContent) is opened and the soft keyboard is active, clicking on the background (the dimmed area outside the dialog) dismisses the dialog as expected, but the soft keyboard remains visible on the home screen instead of being hidden.

This results in a "keyboard leak" where the IME stays active without any focused input field.

To Reproduce

  1. Launch the app and navigate to the Task List page (the third tab in the bottom navigation).
  2. Click the "+" (New Task) floating action button to open the TaskCreatorDialogContent.
  3. Tap the URL input field to trigger the soft keyboard.
  4. Click anywhere on the dimmed background (outside the dialog) to dismiss it.
  5. Observation: The dialog closes immediately, but the soft keyboard remains visible, covering half of the Task List on the home screen.

Error reports

  • App version: 2.0.0-alpha.5-debug
  • Device information: Android 15 (API 35)
  • Supported ABIs: [arm64-v8a]
  • Logcat / Error Message: N/A. This is a UI interaction bug where the soft

Screenshots & Screen Records

No response

Additional context

I suspect this is due to the lack of explicit keyboard hiding logic in the onDismissRequest callback of the Compose Dialog. I'm willing to help fix this if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnew issueThis issue is not triaged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions