Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size problem when set display none then block #239

Open
Serif-NNR opened this issue Dec 16, 2022 · 1 comment
Open

Size problem when set display none then block #239

Serif-NNR opened this issue Dec 16, 2022 · 1 comment

Comments

@Serif-NNR
Copy link

Hello guys,

If we set display none to the div containing the diagram in initialization step and after that change it as display block to be able to reveal the diagram according to some criteria, the size of the diagram doesn't suitable and it turns to very small rect areas.

As i guess, you don't recalculate the size and coordinates of the components belongs to the diagram when component is replaced or revealed. Maybe a listener mechanism can be performed for this.

@Serif-NNR
Copy link
Author

Or in each time reallocate the diagram can be used after the operation related to the set of display attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant