nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[Feature Request] Make it possible to disable the popoverTrigger using isDisabled

Open emilPandektes opened this issue 6 months ago • 2 comments

Is your feature request related to a problem? Please describe.

Im creating a icon and title that displays information about whether a conversation is shared or not. If the person clicking that icon and title is the author it should open the popover, if not, it should be disabled.

This isn't possible with the current version of the popover trigger.

Describe the solution you'd like

As a developer i expect there to be a prop that I can use to disable the poptrigger.

Describe alternatives you've considered

Alternatively if have to implement logic that uses isOpen prop and does a check every time. It would produce more code overhead.

Screenshots or Videos

No response

emilPandektes avatar Aug 21 '24 11:08 emilPandektes