Skip to content

Tooltip pointer (triangle) not correctly positioned with hovermode 'x' #6900

Closed
@OBe95

Description

@OBe95

Hello 👋

When plotting a graph with hovermode: 'x', sometimes the tooltip pointer is not correctly positioned
It happens mainly for tooltips with large content that are on the edges of the graph.

Here is a reproduction link https://stackblitz.com/edit/web-platform-s4way6?file=script.js,index.html

PS: I took a look into where calculations happen and I think I might be able propose a solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions