Skip to content

Conversation

@teodragovic
Copy link
Contributor

Fixes #4464

Wasn't sure if boolean is better removed or left in (I think "empty string" part from the specs would be same as translate={true})?

@coveralls
Copy link

Coverage Status

coverage: 99.486%. remained the same
when pulling 3d4e7b0 on teodragovic:patch-1
into 9351588 on preactjs:main.

@rschristian
Copy link
Member

rschristian commented Jul 31, 2024

Unfortunately, I don't think this is correct, see #3800

We set the translate property, not the attribute, which is a boolean rather than a 'yes' | 'no'

@teodragovic teodragovic closed this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong typing for HTML translate property

3 participants