unify-ui-dev / flexilla

Interactive Component Library
https://flexilla-docs.vercel.app/
MIT License
15 stars 5 forks source link

Add Close Strategy to Tooltip Component #60

Closed Johnkat-Mj closed 2 months ago

Johnkat-Mj commented 2 months ago

Description:

We need to enhance the tooltip component by adding a close strategy feature. This feature will allow the tooltip to be closed when clicking inside it or not, based on the user's preference.

Current Behavior:

Desired Behavior:

Expected Behavior:

Suggested Solution:

  1. Add a configuration option to the tooltip component to specify the close strategy.
  2. Implement logic to handle the closing of the tooltip based on the chosen strategy.