naong69
Posts: 2
Joined: Wed May 03, 2023 8:43 am

Tooltip of second mapChart not display after hide first loaded mapChart

I realized that if we have two mapChart objects in containers, the tooltip of the second mapChart does not display when we hide the container of the first mapChart. I think it happens after the new version 11.0.0.

Example:
https://jsfiddle.net/naong69/71y0gbn6/1/

Can someone help?
Regards.
jakub.s
Posts: 1075
Joined: Fri Dec 16, 2022 11:45 am

Re: Tooltip of second mapChart not display after hide first loaded mapChart

Hi,

Welcome to our forum & thanks for the question!

You're right, it's a regression since v11. I've reported it on GitHub here: https://github.com/highcharts/highcharts/issues/18928 where you can track its progress.

For now, if it's a crucial feature of your application, you should maybe switch back to 10.3.3 until the next release/until a workaround is proposed. I'll inform you when something is figured out.

Also, in the meantime, please vote for this issue by giving it a like so that it is solved quicker.

Best regards!
Jakub
Highcharts Developer
naong69
Posts: 2
Joined: Wed May 03, 2023 8:43 am

Re: Tooltip of second mapChart not display after hide first loaded mapChart

Hi jakub.s

Thank you for the quick response!! and thank you for the suggestion.
I may have to switch back to 10.3.3.


Hope the bug is fixed soon.
Best regards!
jakub.s
Posts: 1075
Joined: Fri Dec 16, 2022 11:45 am

Re: Tooltip of second mapChart not display after hide first loaded mapChart

Sure, no problem:)

I'll let you know when a workaround/solution is proposed.

In the meantime do not hesitate to ask in case any more questions arise.

Best regards!
Jakub
Highcharts Developer
jakub.s
Posts: 1075
Joined: Fri Dec 16, 2022 11:45 am

Re: Tooltip of second mapChart not display after hide first loaded mapChart

Hi,

Just wanted to let you know that this issue has been solved here: https://github.com/highcharts/highcharts/pull/18930

We'll deploy a new release next week so the solution will be available from our original CDN (code.highcharts.com/highcharts.js) then, but for now you can take the code from our GitHub like here: https://jsfiddle.net/BlackLabel/vphd7jwo/

Best regards!
Jakub
Highcharts Developer

Return to “Highcharts Maps”