kepler.gl icon indicating copy to clipboard operation
kepler.gl copied to clipboard

[Bug] Action Trigger not updating the map until mouse move

Open monikasaran opened this issue 3 years ago • 3 comments

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.

monikasaran avatar Jul 14 '21 13:07 monikasaran

This does not occur in our other apps. How are you triggering the action?

heshan0131 avatar Jul 19 '21 03:07 heshan0131

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.

monikasaran avatar Jul 20 '21 12:07 monikasaran

keep watching ,the same issue .

chengzhangHu avatar Mar 24 '22 07:03 chengzhangHu