Cloudlog
Cloudlog copied to clipboard
Reproduceable crash
I know nothing about code.
The whole app crashes when I fully zoom out when displaying locator squares. I know it,s a stupid thing to do but ive twiddled my mousewheel the wrong way a few times. Once crashed it just freezes and is unresponsive until I hit the back button a couple of times Windows 10 on Magicbug server, same error on my desktops and laptop
To Reproduce Steps to reproduce the behaviour:
- Go to "Analytics" then "Gridsquares"
- Zoom out until it will zoom no more using mouse wheel
- Once zoomed out nothing works, you can't zoom back or click anything or click headings
- Back button gets you out of it after pressing it a few times
Expected behaviour To zoom in and out flawlessly
Desktop (please complete the following information):
- OS: Win 10
- Microsoft Edge
- Version
Hi. I've seen this issue myself. I think we need to specify max zoom levels to avoid this.
Quite likely, Leaflet gets a little upset if lots of markers are being displayed
I think its not the markers but zoom level being 0 that causes the issue here. Up to zoom = 1 everything works fine on my end.
That narrows it down for a quick fix!
This fixes it. Can someone test?
https://github.com/magicbug/Cloudlog/compare/station_logbooks...phl0:Cloudlog:minZoom?expand=1
Fixed it by setting minZoom to 1. So you cannot zoom out more. See https://github.com/magicbug/Cloudlog/pull/1634.
Custom map is not affected by the way. PR fixes it for gridsquares and activated gridsquares.
Thanks for the prompt and effective response phl0. Magicbug, will this be reflected on my site? Regards all, David
should be reflected within the next hour just merged the fix into the codebase
Thanks Peter, Best Regards David
On Wed, 5 Oct 2022, 14:44 Peter Goodhall, @.***> wrote:
should be reflected within the next hour just merged the fix into the codebase
— Reply to this email directly, view it on GitHub https://github.com/magicbug/Cloudlog/issues/1633#issuecomment-1268460590, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2RRI6QZSTKASBWM4GH2KPDWBWA45ANCNFSM6AAAAAAQ42HSHU . You are receiving this because you authored the thread.Message ID: @.***>