alexkatz / react-tiny-popover

A simple and highly customizable popover react higher order component with no other dependencies! Typescript friendly.
MIT License
454 stars 121 forks source link

Why not add the `target` property? #135

Open hosembafer opened 3 years ago

hosembafer commented 3 years ago

It can be used to position content relative to a custom element placed away from the button (children).

baba43 commented 2 years ago

I guess this would also resolve my issue #149

Did you find a working solution for your use case?

alexkatz commented 2 years ago

@hosembafer is there something preventing you from simply making that target Popover's children?

@baba43 in your case, it looks like FullCalendar supports JSX content injection.

hosembafer commented 2 years ago

@alexkatz actually nothing prevents me from doing so. I solved my problem the way you mentioned. It took me a while to figure out that I could use this recipe.