-
Notifications
You must be signed in to change notification settings - Fork 10.3k
UIMouseEventArgs doesn't provide reference to the element clicked #12259
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
Comments
Thanks for contacting us, @VR-Architect. |
Here is an example of the way I did it without JSInterop; however, if the mouse is moved too quickly the moved element gets left behind. If the mouse moves slowly, the drag works fine. But to my original question, I was able to get a reference by using lamba with an int.
|
Moving this to Backlog after seeing no community involvement here. We'll reconsider in the future, if we see clear need for this from community. |
Hi everyone I want to add to this issue. I am currently trying to have a list of elements where each can be clicked. However it feels quiet overkill to add a specific event handler for each element in that list. In javascript I would apply the handler to a parent element and then get the data from It would be nice if there was some sort of identification of the event target. For example a Cheers |
I have not been able to find any sample code to do this. Without being able to know which element was clicked, it seems impossible to use UIMouseEventArgs for moving of elements on the page. I ran into this same issue with the Drag-n-Drap events args too.
If this feature is already in the product, please provide an sample. There is something like this for keydown event in the documents, but not mouse events.
If not already in the product, this is a must have for go live please :)
The text was updated successfully, but these errors were encountered: