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
Tooltip not Working at HTML Map HTM #2536
Comments
I will try fixed it |
I found the issue, it was due to the version of React. In the mouse event propagation, when it passed from the component to the “__onMouseMoveDebounced” function, all the values in the event were lost. When I changed the React version in the exported HTML to 17.0.1 and 18.4.0, the issue disappeared. So, the bug lies with the React version 16.14.0. |
The current React version in the project is 18.2.0, while in the exported HTML it is 16.14.0, which is causing this bug due to version inconsistency. |
Signed-off-by: liuwo <18484922722@qq.com>
@liuwo23 do you happen to know when your fix will make it into a release? |
Describe the bug
Following Bug] #2528, I face the same issue: I am running the Kepler GL Demo Locally. I saved the HTML and then opened it from my own folder. When opening the HTML locally, the tooltip function does not work. Not when I click on data on the map, and also not when I hover over the data on the map.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the tooltip to pop up when hovering over the datapoints on the map.
**Desktop
Chrome & Opera (tried both)
Version 3.0.0
Additional context
Other users #2528 reported issue fixed by changing kepler.gl version to older one (2.5.5 for example). I tried several older versions but none of them work.
The text was updated successfully, but these errors were encountered: