Skip to content

Tool Tip is missing when Navigation and Wikipedia is open #5

@aumanjoa

Description

@aumanjoa

Description

When the Layers panel (left sidebar) and the Wikipedia panel (right sidebar) are both open simultaneously, the map tooltip that normally appears on the cursor when hovering over a territory disappears completely.

The tooltip is an important part of the map interaction — it shows the name of the entity (ruler, culture, religion) under the cursor without requiring a click. Losing it when panels are open makes exploration much harder because the user has no quick way to identify territories while browsing the map.

Steps to Reproduce

  1. Open new.chronas.org
  2. Click a territory on the map to open the Wikipedia / info panel on the right side
  3. Open the Layers panel on the left side (layers icon in sidebar)
  4. Hover the cursor over any territory on the map
  5. Expected: A tooltip appears near the cursor showing the territory name / ruler / culture
  6. Actual: No tooltip appears — the cursor hover produces no label

Screenshot

The screenshot below shows the state where both panels are open and no tooltip is visible on the cursor:

Image

Expected Behavior

The hover tooltip should always be visible when the cursor moves over a territory on the map, regardless of which sidebar panels are open.

Root Cause (suspected)

The tooltip is likely being rendered below or behind one of the open panel overlays, or its z-index / pointer-events is being overridden by the panel containers. It may also be that the map's mousemove event listener is being blocked when a panel captures focus.

Acceptance Criteria

  • Tooltip appears on cursor hover over any territory when both the Layers panel and Wikipedia panel are open
  • Tooltip appears correctly regardless of which combination of panels are open (Layers only, Wikipedia only, both)
  • Tooltip is not obscured or hidden behind panel overlays
  • Tooltip still dismisses correctly when the cursor leaves the territory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions