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

[Regression] OnAppearing is sometimes with ContextMenuTargetId null #65

Closed
julienGrd opened this issue Oct 7, 2019 · 2 comments
Closed

Comments

@julienGrd
Copy link

Hi and thanks for your work !
I have a problem with your library since last versions (i don't know exactly wich one).
I use your library with table and use the "old" system, retrieve a ContextMenuTargetId and then i retrieve my element by myself in js.
I can't use the new version where you pass data because i need have the hand on the generated, so i kept the global trigger which include the table.

Now, depend where i click on the table, but sometimes i have ContextMenuTargetId null (which for me was normally impossible). So i can't retrieve my item.

It seem the first time i click on an element, it's OK, but then if i reclick on this element, the ContextMenuTargetId become null

Do you have an explanation for that ?

You will find a repro here : https://github.com/julienGrd/BlazorAppReproBugContextMenu

  • go to the fetch data
  • right click on the first row / first cell => normally is OK, menu is shown
  • reclick on the first row / first cell => the menu not show, if you debug the OnAppearing you will see the value null.

Good luck !

@stavroskasidis
Copy link
Owner

Thank you for the repro project. I will check it out asap.

stavroskasidis added a commit that referenced this issue Oct 11, 2019
@stavroskasidis
Copy link
Owner

Fixed in 1.2

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