Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

render() with popover doesn't work #4380

Closed
1 task
codedread opened this issue May 11, 2024 · 2 comments
Closed
1 task

render() with popover doesn't work #4380

codedread opened this issue May 11, 2024 · 2 comments

Comments

@codedread
Copy link

codedread commented May 11, 2024

  • Check if updating to the latest Preact version resolves the issue

Describe the bug
As per this link the popover attribute is available in all browser. However, I get a complaint with Preact 10.21.0: render(<div popover>foo</div):

"Popover not assignable to type htmlattributes htmldivelement"

To Reproduce

See the above snippet. Also this react bug.

@rschristian
Copy link
Member

Just a type error or an actual functional issue?

#4378 addresses the types

@codedread
Copy link
Author

Yes, I think it's just a type error. Functionality it seems to work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants