keplergl / keplergl/kepler.gl

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

Open
#1,544 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by reproducing the issue with a manually triggered layer-visibility change or updateMap call using a new zoom value. Trace the action-trigger path and map render cycle to determine why mouse movement causes the pending change to appear. Done means triggered map changes render immediately without requiring hover or another pointer event.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.