Skip to content

[BUG] dcc.Tooltip() incorect placement: "direction" and/or "bbox" params are not respected #3269

Closed
@embar-

Description

@embar-

Context
After update from Dash 2.18.2 to 3.0.2, dcc.Tooltip is placed in wrong position and partially hide target objects.

dash 3.0.2
dash-bootstrap-components 2.0.0
- OS: Linux, Windows
- Browsers: Firefox, Edge, Chrome

Describe the bug
dcc.Tooltip left top corner is always placed at same position (relative to "bbox") regardless of "direction" parameter, and/or ignores some "bbox" values (presumably "x1" and "y1")

Expected behavior
Tooltip should be placed in direction according "direction" parameter relative to "bbox" rectangle area.

Screenshots
In Firefox 128.8.0esr:
Image

In Chrome 134:
Image

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