-
Notifications
You must be signed in to change notification settings - Fork 19.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Tooltip not shown on fullscreen #18944
Comments
Changing your goFull function may work:
|
As you have enabled |
@helgasoft thanks for providing a solution. i tried that but it seems to be not the most feasible answer for me. hence, i requested this fix. @plainheart thank you for pointing me to a PR. i think that's a solution i'm waiting for but let's see once it's merged. |
I don't think this is a bug of ECharts since you are not requesting fullscreen on the chart.setOption({
// ...
tooltip: {
className: 'chart-tooltip'
},
// ...
})
document.getElementById('root').appendChild(document.querySelector('.chart-tooltip')) |
Version
5.4.0
Link to Minimal Reproduction
https://jsfiddle.net/m4zvefah/
Steps to Reproduce
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.
Current Behavior
On fullscreen mode, the tooltip is not displayed.
This is because of the following code:
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
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: