Skip to content

widgets in map wrongly align with a specific config #10676

@MV88

Description

@MV88

Description

How to reproduce

  • use this config
{
        "name": "Widgets",
        "cfg": {
          "cols": { "md": 48, "xxs": 1 },
          "rowHeight": 10,
          "defaults": {
            "initialSize": {
              "h": 8,
              "w": 8
            }
          }
        }
      }
  • open a map with some widgets in single widget layout (resize window until it triggers)

Expected Result

to see widgets panel correctly
Current Result

it goes very below and the widget is not fully visible, partially hidden
this is due to the fact that rowHeight from configuration affect the baseHeight here
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/plugins/Widgets.jsx#L146-L148

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions