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

Opens submenu multiple times if you click a child multiple times #41

Closed
MV-GH opened this issue Aug 29, 2023 · 3 comments
Closed

Opens submenu multiple times if you click a child multiple times #41

MV-GH opened this issue Aug 29, 2023 · 3 comments

Comments

@MV-GH
Copy link

MV-GH commented Aug 29, 2023

I am double clicking on that DropdownMenuItem which opens that submenu twice
vmOM9iOO5C

@saket saket closed this as completed in cd8b01c Oct 8, 2023
@MV-GH
Copy link
Author

MV-GH commented Oct 8, 2023

This is not fixed, I can still reproduce this with 2.3.0

@MV-GH
Copy link
Author

MV-GH commented Oct 8, 2023

Because I assume

  internal fun navigateTo(entry: CascadeBackStackEntry) {
    if (entry != backStack.lastOrNull()) {
      backStack.add(entry)
    }
  }

Each time I click, it creates another class thus the comparison fails, as its unique each time

@saket
Copy link
Owner

saket commented Oct 25, 2023

Serves me right for not adding an automated test for this 🙂. Let me fix this (again).

saket added a commit that referenced this issue Oct 25, 2023
saket added a commit that referenced this issue Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants