db-ui / mono

DB UX Design System Monorepo - Provides Design Tokens and components for Web UIs
https://db-ui.github.io/mono/review/main/
Apache License 2.0
53 stars 7 forks source link

allow `inert` attribute for components? #2874

Open annsch opened 1 month ago

annsch commented 1 month ago

Which generators are impacted?

Reproduction case

currently HTML attribute inert as property is not allowed – https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inert

Expected Behaviour

allow native html properties per default?

Screenshots

No response

Browser version

None

Add any other context about the problem here.

No response

nmerget commented 4 weeks ago

@annsch I guess you are talking about React?

This is currently an experimental feature for react 18. Maybe it will be in react 19.

Besides this we could add it as a "custom prop" to every single component as a workaround