Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Created by Botshelo Brandon Tidimalo
Created on May 11, 2026

Add scroll-to-pan support for the diagram canvas

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

The diagram canvas currently zooms on scroll-wheel by default, but our users need to pan the viewport via scroll instead, this is a common interaction pattern in diagramming and mapping tools where scroll-to-pan is preferred over scroll-to-zoom.

What would you like to see happen?

Describe the desired outcome or enhancement.

Expose the ReactFlow panOnScroll, panOnScrollMode, and panOnScrollSpeed props through the Diagram component's public API so scroll-wheel pans the canvas instead of zooming.

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

Improves UX for power users who work with complex diagrams and expect scroll-to-pan behavior, reduces friction and matches conventions used by tools like Miro, draw.io, and Figma.

What steps, if any, are you taking today to manage this problem?

No workaround available, the Diagram component does not expose these props and they cannot be set from the consumer side.


  • Admin
    Julia Oppenheim
    Jun 17, 2026

    This feedback was addressed in Compass release 1.49.9

  • Admin
    Julia Oppenheim
    May 22, 2026

    Thanks for the feedback, we're looking into it!