Jet Stream - longClick

Open
#215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by locating AccountsSectionDeleteDialog and the Jet Stream long-click path, then reproduce the dialog behavior with a long click. Trace the KeyUp event on release and verify that the dialog no longer closes unexpectedly when the button receives it.

Written by the indexing model from the issue text.

Description

Auto-closing a dialog on release - longClick

If you call a dialog based on AccountsSectionDeleteDialog via a longclick, the dialog button captures the KeyEventType.KeyUp event, which triggers the Button and closes the dialog.

It's very strange that the Button key is triggered by KeyUp.

Dominant language
Kotlin
Stars
1.3k
Forks
400
Avg merge
9d 10h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/tv-samples

All issues in android/tv-samples

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.