Skip to content

[Bug] Tooltip not shown on fullscreen #18944

@inviolablegenesis

Description

@inviolablegenesis

Version

5.4.0

Link to Minimal Reproduction

https://jsfiddle.net/m4zvefah/

Steps to Reproduce

  1. In a line chart, set the following values for tooltip:
appendToBody: true,
confine: true,

This is to solve the issue regarding tooltip being cut off when container is so small.
The tooltip in this case should be viewable when you hover.

  1. Open the parent div in HTML5 fullscreen mode
  2. Check for the tooltip again.

Current Behavior

On fullscreen mode, the tooltip is not displayed.
This is because of the following code:

appendToBody: true,
confine: true,

but this code is needed to be able to view the tooltip in normal mode (not fullscreen) especially when the chart is small

Expected Behavior

Both modes should show the tooltip

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions