bellingcat / ukraine-timemap

TimeMap instance for Civilian Harm in Ukraine

Home Page:https://ukraine.bellingcat.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clusters are flickering on zoom in

mourner opened this issue · comments

As a side note, thanks for all the hard work on this map! As a Ukrainian and also the creator of Leaflet (and other deps like Supercluster), I really appreciate what you're doing.

Environment

  • Your version (in package.json) or git commit hash: the one currently deployed on Bellingcat (as of April 5)
  • Your operating system and version: macOS, reproducible in all browsers

Steps to reproduce

  1. Zoom in the map.

Current Behavior

Clusters are flickering annoyingly:

Screen.Recording.2022-04-05.at.22.17.35.mov

Expected Behavior

No flickering, everything's smooth.

Thanks for the report! This is a regression that seems to have been caused by the recent update from React 16 => 18 in #20 if I'm not mistaken.

I'll try to fix it, if @gaearon has an idea what might be wrong, I would appreciate any help.

commented

I’ll have a look now.

commented

I'm sorry, this is my mistake. Here is a fix. #29