Skip to content

[Bug] The summary chip covers the zoom controls in the map app. #307

Closed

Description

@jcardus

What happened?

The map app puts the summary chip and the zoom control in the same top-left corner, and the chip covers the + and − buttons whenever a map has a summary. That is their ui://mapbox/map-app/index.html. This app only supplies the text.

Moving the chip to the top center, or starting it to the right of the control, would leave the buttons usable.

Steps to Reproduce

  1. Connect an MCP Apps host to the Mapbox MCP server and call render_map_tool with a summary and at least one layer or marker. For example, summary set to 508.5 km, 936 min and one short line layer.
  2. Open the map. The summary chip is in the top-left, on top of the zoom control.
  3. Click the + button where the chip covers it. The map does not zoom. The click lands on the chip.
  4. Call render_map_tool again with the same layer and no summary. The + button is clear and zoom works.

Expected Behavior

The zoom buttons should be clickable and visible.

Version

No response

MCP Client

No response

Additional Context

No response

Activity

  1. mattpodwysocki commented on Nov 6, 2026

    @mattpodwysocki
    Contributor

    Thanks for the report. #278, released in 0.17.0, moved the zoom and layer buttons below the chip whenever it shows, which fixes the steps here: the + button now sits below the "508.5 km, 936 min" chip and zoom works.

    One case was still broken. The chip was measured only when it appeared, so if the host narrowed the frame afterwards, it wrapped to more lines and covered the buttons again. At 200 px wide, a click on + landed on the chip. #326 fixes that, and this issue will close when it merges.

  2. jcardus commented on Nov 7, 2026

    @jcardus
    Author

    Thank you @mattpodwysocki

  3. added a commit that references this issue on Nov 9, 2026
    6428da3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions