jumpinjackie / mapguide-react-layout

An openlayers-based modern map viewer for MapGuide
https://jumpinjackie.github.io/mapguide-react-layout/
MIT License
62 stars 13 forks source link

No auto adjust on Layers Pane when using expand / collapse #1484

Closed WHendriksOpenspatial closed 1 year ago

WHendriksOpenspatial commented 1 year ago

IMPORTANT! Please read this first

Issues in this repository concern only the viewer. Do not submit bug reports concerning the MapGuide Server, FDO or isses in any other web mapping server or services. Use the appropriate issue trackers for reporting such issues because this repo is not for that!

Describe the bug When opening Layers pane the list of layers (collapsed) display correctly within the pane layout:

image

However as soon as you expand a few Layers past the limits of the layers pane then the pane does not auto adjust or generate a scroll bar:

image

and has to be done manually:

image

What is your environment?

  1. MapGuide Installation
    • Version: 4.0
    • OS: Windows Server 2022
    • WebTier configuration (IIS/Apache): IIS
  2. mapguide-react-layout version:

To Reproduce Steps to reproduce the behavior: Please see description above

Expected behavior Please see description above

Screenshots/Browser DevTools output Does your browser devtools (F12) show any console/network errors at the time the problem occurs or is there any visual indicators of the problem? No errors

jumpinjackie commented 1 year ago

I don't recognise the look of this window frame from any of our default viewer templates.

Is this a custom viewer template component? If so you're responsible for how to handle oversized legend content. In that case some solutions you can use are:

WHendriksOpenspatial commented 1 year ago

Thank you for those solutions. It did fix the issue we were having.