Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
22 stars 32 forks source link

[BUG] Layers Tab First in List #2299

Closed jolevesq closed 3 months ago

jolevesq commented 3 months ago

Is there an existing issue for this?

Current Behavior

When layer tab is first in list it is not selected by default and the first click does not work. Only second click open the tab and default is on add instead of view even if there is layers in the panel

Expected Behavior

By default the tab Layers should be selected and open on view, not add

Steps To Reproduce

1.https://canadian-geospatial-platform.github.io/geoview/public/sandbox.html

  1. set this config 'footerBar': { 'tabs': { 'core': ['layers', 'details', 'data-table'] } },
  2. Create the map and click on layers

Anything else?

No response