Skip to content

Zoom control on the graph view module is activated on first click only #1025

@sei-vsarvepalli

Description

@sei-vsarvepalli

Describe the bug
This bug was observed when trying to fix the graph view cutting bug. The zoom control uses a viewbox attribute in SVG which seems to be not set to anything until a user does his first click on the zoom control.

To Reproduce

  1. To go SSVC Explorer and then
  2. Click on Graph tab to see the Graph
  3. Now click on the zoom controller icon - the graph will change even if the zoom is set to 100%

Expected behavior
The graph zoom view should be at 100% for the first initial setup. Looks like viewbox attribute is not initially set causing this.

Sub-issues

Metadata

Metadata

Assignees

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