Skip to content

Comments

Fix JSON tooltip overflow on list annotations page#40

Open
srividya-0001 wants to merge 1 commit intoeellak:mainfrom
srividya-0001:fix-json-tooltip-overflow
Open

Fix JSON tooltip overflow on list annotations page#40
srividya-0001 wants to merge 1 commit intoeellak:mainfrom
srividya-0001:fix-json-tooltip-overflow

Conversation

@srividya-0001
Copy link

Make large JSON tooltips scrollable to prevent viewport overflow.

What this PR does

Fixes an issue where large JSON results shown in tooltips overflow the viewport on the List Annotations page.

Changes made

  • Made tooltip content scrollable by adding a max height and vertical scrolling
  • Keeps existing tooltip behavior unchanged elsewhere

Why this change

When hovering over large JSON results, the tooltip could extend beyond the bottom of the screen, affecting usability. Making the tooltip scrollable resolves this.

How it was tested

  • Ran the application locally
  • Created an annotation with a large JSON result
  • Verified the tooltip stays within the viewport and is scrollable

Fixes #36

Make large JSON tooltips scrollable to prevent viewport overflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix hover effect on JSON result on the list annotations page

1 participant