cds-astro / aladin-lite

An astronomical HiPS visualizer in the browser
https://aladin.cds.unistra.fr/AladinLite/
GNU General Public License v3.0
103 stars 42 forks source link

Duplicated surveys in dropdown list #181

Closed OlivierMarchal closed 2 months ago

OlivierMarchal commented 3 months ago

Whenever I add a new survey, it becomes duplicated. I have this behaviour with the 'latest' branch, but also with the 'beta'.

Steps to reproduce the problem : 1) Go to https://aladin.cds.unistra.fr/AladinLite/doc/API/examples/AL-in-responsive-div/ 2) Open the overlays menu, click on Surveys / Browse hips 3) Select DESI Legacy Surveys color (g, r, i, z) 4) Now that we have 2 surveys (Desi and DSS), click on the Desi one and you will see that it has been added twice : one time in the middle, one extra time at the end.

Capture d’écran 2024-08-08 à 15 10 00

Same thing for DSS:

Capture d’écran 2024-08-08 à 15 15 54
OlivierMarchal commented 2 months ago

Small update: the bug appears with chrome 127.0.6533.119. With the most recent version (128.0.6613.120), the bug does not appear anymore.

bmatthieu3 commented 2 months ago

This should be fixed now