Skip to content

large code editors can overflow their allocated space without increasing it #1445

@CommanderStorm

Description

@CommanderStorm

Maputnik version: v3.0.0 (i.e. latest on maplibre.org/maputnik)
Browser: Chrome 141.0.7390.76
OS: Linux

Description of the bug:

Steps to reproduce the behaviour:

  1. Add a larger expression
  2. See the editor overflow below other expression editors

Style file or style URL:
Example is the building exrusion layer here with the custom oppacity:

{
  "id": "building-3d",
  "type": "fill-extrusion",
  "source": "shortbready",
  "source-layer": "buildings",
  "minzoom": 14.2,
  "maxzoom": 16.5,
  "paint": {
    "fill-extrusion-height": [
      "interpolate",
      ["linear"],
      ["zoom"],
      14,
      0,
      14.5,
      30,
      16.2,
      30,
      16.3,
      20,
      16.4,
      3,
      16.5,
      0
    ],
    "fill-extrusion-base": 0,
    "fill-extrusion-opacity": [
      "interpolate",
      ["linear"],
      ["zoom"],
      14.2,
      0,
      14.5,
      0.8,
      16.2,
      0.8,
      16.3,
      0.5,
      16.4,
      0.1,
      16.5,
      0
    ],
    "fill-extrusion-color": [
      "interpolate",
      ["linear"],
      ["zoom"],
      13,
      "#98c6ea",
      15,
      "#64a0c8",
      20,
      "#005293"
    ],
    "fill-extrusion-vertical-gradient": true
  }
}

Screenshots:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions