Skip to content

Bug: How to deal with HTML popover in react #27486

Closed as not planned
Closed as not planned
@codeAbinash

Description

@codeAbinash

How to deal with HTML popover in react

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/popover

React version: 18.2.0

Steps To Reproduce

  1. Trying to use HTML popover

Screenshot 2023-10-09 115001

The current behavior

Type '{ children: string; popovertarget: string; }' is not assignable to type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'. Property 'popovertarget' does not exist on type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'.

Type '{ children: string; popover: true; id: string; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'. Property 'popover' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.

Please add support for HTML popover in react.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions