kepler.gl
kepler.gl copied to clipboard
[Bug] Action Trigger not updating the map until mouse move
Describe the bug Action Trigger not updating the map until mouse move
To Reproduce Manually triggering the actions such as layer visibility or updateMap with new zoom value. The action is triggered successfully but the change is not reflected on the map. As soon as you hover on the map the changes reflects.
Expected behavior The triggered action should reflect on the map.
Desktop (please complete the following information):
- OS: [iOS]
- Browser [chrome]
- OS Version [10.15]
- Chrome Version [91.0.4472.114]
- Kepler version : 2.4.0
- React version: 16.14
https://stackoverflow.com/questions/55260631/request-rendering-of-new-frames-in-kepler-gl The above stackoverflow link explains exactly about the problem but solution is not satisfying.
This does not occur in our other apps. How are you triggering the action?
I am triggering by dispatching the actions such as setFilter action for a layer. But the filter only reflects on the map as soon as user hovers over the map. Looks like map is not updating the latest context.
keep watching ,the same issue .