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

Consider inert as a boolean attribute #8208

Closed
brc-dd opened this issue May 1, 2023 · 1 comment · Fixed by #8209
Closed

Consider inert as a boolean attribute #8208

brc-dd opened this issue May 1, 2023 · 1 comment · Fixed by #8209
Labels
✨ feature request New feature or request

Comments

@brc-dd
Copy link
Member

brc-dd commented May 1, 2023

What problem does this feature solve?

Add inert to

export const isBooleanAttr = /*#__PURE__*/ makeMap(
specialBooleanAttrs +
`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +
`loop,open,required,reversed,scoped,seamless,` +
`checked,muted,multiple,selected`
)

inert is now supported across all major browser engines.

What does the proposed API look like?

Passing :inert="false" should not render inert="false".

@brc-dd brc-dd added the ✨ feature request New feature or request label May 1, 2023
@brc-dd
Copy link
Member Author

brc-dd commented May 1, 2023

PS: we should also reconsider opening #661

@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
✨ feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant