Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: clicking any menu item in your Jetpack Compose Reply app was triggering multiple executions of the associated action. multiple logs being printed each time a menu item was clicked. #1447

Open
4 tasks done
waitforsunny opened this issue Aug 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triage me Issue that needs to be triaged

Comments

@waitforsunny
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

Is this an issue related to one of the samples?

  • Yes, this is a specific issue related to this samples repo.

Sample app

Reply

What happened?

clicking any menu item in your Jetpack Compose Reply app was triggering multiple executions of the associated action. multiple logs being printed each time a menu item was clicked.
WX20240824-104507@2x

Relevant logcat output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@waitforsunny waitforsunny added bug Something isn't working triage me Issue that needs to be triaged labels Aug 24, 2024
@waitforsunny waitforsunny changed the title [Bug]: clicking any menu item in your Jetpack Compose app was triggering multiple (four) executions of the associated action. Despite checking that the NavHost was created only once, the problem persisted, leading to multiple logs being printed each time a menu item was clicked. After investigation, you discovered that the issue stemmed from a bug in the Android Compose sample open-source code you were using. Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage me Issue that needs to be triaged
2 participants