Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tooltip to Polygon Elements #178

Open
dansreis opened this issue Jun 28, 2024 · 0 comments
Open

Add Tooltip to Polygon Elements #178

dansreis opened this issue Jun 28, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dansreis
Copy link
Owner

Description:
We would like to add a feature that allows tooltips to be displayed when hovering over polygon elements on the canvas. This enhancement will provide users with additional context or information about the polygon elements, improving the usability and interactivity of the react-canvas-annotator library.

Motivation:
Displaying tooltips on polygon elements can be highly beneficial for users who need to annotate images with additional information. Tooltips can provide immediate feedback and context without requiring users to click on the polygon elements, thereby improving the user experience.

Proposed Solution:

  1. Introduce a new property for polygon elements to specify the tooltip content.
  2. Update the rendering logic to display a tooltip when the user hovers over a polygon element.
  3. Ensure the tooltip is styled appropriately and follows the cursor for better visibility.
@dansreis dansreis added the enhancement New feature or request label Jun 28, 2024
@dansreis dansreis self-assigned this Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant