Skip to content

React tooltip renders but does not show anything #702

@hkar19

Description

@hkar19

i tried to render react tooltip along with react-simple-maps.
this is the basic structure

const Page = ()=>{
  const [content, setContent] = React.useState("hesss");

  return (
    <Card>
       <MyMapImplementation setContent={setContent}/>
       <ReactTooltip>{content}</ReactTooltip>
    </Card>
  )
}

image

(in above case i inactivate left and top css so the tooltip would be in the page)

this occurs:
image

anything did i miss here? i tried to follow this map with tooltip example and seems straight forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions