Skip to content

[BUG] Issue with fit center + zoom + scrollbars #1979

Description

@jeromecambon

When the diagram is fit as Center, and navigation and the scrollbars are enabled, one cannot move in all the diagram:

Issue_scrollbars.mov

To Reproduce

  • Enable navigation: initialize BpmnVisualization with "navigation: { enabled: true }"
  • Enable scrollbars: set style BPMN container style "overflow: auto;"
  • Fit the diagram to its container: call load() method with "{ fit: {type: bpmnvisu.FitType.Center} }"

Desktop

  • OS: MacOS
  • Browser Chrome
  • Version 101.0.4951.64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions