Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

The problem with the diagrams in different tabs

$
0
0

@v.programmer wrote:

I use GoJs with Angular. Different diagrams are located on different tabs. Everything is fine with the requestUpdate function in active tab if the window is resized and the diagram picks up the changes. The problem with diagrams on inactive tabs.

For example, I created a demo in which, when resized, a function is called to center the diagram from the top center. To recreate problem, you need to change the size of the browser and then look at the result on the inactive tab. Also in the console I display information about which diagrams this function is called for and it is called for all diagrams.

Demo view - https://angular-gojnmw.stackblitz.io/
Demo source - https://stackblitz.com/edit/angular-gojnmw

Video with problem - https://ufile.io/ot5su.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles