-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Can't inspect disabled elements #997
Comments
if the disabled element does not emit mouse events, it won't get selected with a mouse vite-plugin-svelte/packages/vite-plugin-svelte-inspector/src/runtime/Inspector.svelte Line 104 in 339e8d3
esp firefox is known for not emitting events on disabled elements. |
actually mouseover works, its the |
Perhaps it's possible in the inspect state to mark all disabled elements with |
you can add if you do it unconditionally, well, then it won't get selected because now mousemove doesn't hit. Surprisingly the enter key did fire, so maybe keeping it as is and user has to use Enter to open is an ok workaround? 😬 |
switching from |
workaround is to press "Enter" while the disabled element is selected to open. |
Describe the bug
if i have something like
<button disabled>
or<input disabled>
it seems i can't inspect itReproduction URL
some other time, sorry
Reproduction
No response
Logs
No response
System Info
The text was updated successfully, but these errors were encountered: