Skip to content

Bug: Rank change tooltip renders underneath sticky leaderboard header #266

Description

@jagdish-15

The rank change tooltip displayed when hovering over a user's rank movement is partially hidden beneath the sticky leaderboard header.

This happens because the tooltip is rendered with a lower stacking order than the table header, causing it to be clipped whenever it overlaps the header area.

Steps to Reproduce

  1. Open the leaderboard page.
  2. Hover over a user's rank change badge near the top of the table.
  3. Move the cursor so the tooltip overlaps the table header.

Expected Behaviour

The tooltip should always render above the sticky table header and remain fully visible.

Image

Actual Behaviour

Part of the tooltip is hidden beneath the sticky table header, making the tooltip difficult to read.

Image

Proposed Solution

Adjust the stacking context so the tooltip is rendered above the sticky table header. This may involve updating the relevant z-index values or creating an appropriate stacking context for the tooltip element.

Metadata

Metadata

Assignees

Labels

FrontendTask mainly involving frontendlevel:beginnerIndicates the difficultytype:bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions