techniq / svelte-ux

Collection of Svelte components, actions, stores, and utilities to build highly interactive applications.
https://svelte-ux.techniq.dev/
MIT License
663 stars 33 forks source link

Vite Plugin Svelte: Many Warnings: Self Closing HTML tags, non-interactive elements should not be assigned mouse or keyboard event listeners). #387

Closed arkmech closed 1 month ago

arkmech commented 1 month ago

https://github.com/sveltejs/svelte/issues/1105

Using vite-plugin-svelte and on vite dev getting many warnings from this package.

  1. Self-closing HTML tags for non-void elements are ambiguous — use <div ...></div> rather than <div ... />
  2. Non-interactive element <menu> should not be assigned mouse or keyboard event listeners.

Way too many warnings to post all of them, but they fit into these two categories. #1 is easy to fix.

Can all these issues be resolved?

"svelte-ux": "^0.62.8"
techniq commented 1 month ago

Hey @arkmech 👋, thanks for checking out Svelte UX. Yeah, there are currently a good number of warnings in the library that need addressed. I'm hoping to dedicate some time to this, but I just lack a lot of extra bandwidth at the moment. This is currently being tracked by https://github.com/techniq/svelte-ux/issues/186.