alexkatz/react-tiny-popover

Have 1 popver for multiple divs

Opened this issue · 1 comments

Hello, i have a table with 30 items each one of them should have 1 popover oper on click div but only 1 popver can be opeone at any given time...

Can u have 1 popover for all of them or u have to render all 30 and keep logic to close all when 1 is open ?

Here's a codesandbox I whipped up showing how I'd approach this.

Does this make sense?