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

Hovering over a component shows every bound event handler #11335

Closed
davidwengier opened this issue Dec 29, 2024 · 0 comments · Fixed by #11336
Closed

Hovering over a component shows every bound event handler #11335

davidwengier opened this issue Dec 29, 2024 · 0 comments · Fixed by #11336
Assignees
Labels
enhancement Small improvement request
Milestone

Comments

@davidwengier
Copy link
Contributor

davidwengier commented Dec 29, 2024

I have a component that has a bunch of event handler attributes:
Image

Hover shows way too much information IMO:
Image

Even the ordering is bad, as the component itself isn't even first.

Hovering on one of the event handlers shows the right thing, so duplicating the info in the component hover seems like overkill and noise:
Image

I suspect this is a holdover from legacy support, where showing all tag helpers bound to an element makes sense, but since Razor doesn't have tag helpers, we can do a nicer job, and just show the hover for the actual component itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Small improvement request
Projects
None yet
1 participant