You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The canvas starts at a default height. Any CSS selectors that set the height to 100% only stretch the particles, not change the height attribute of the canvas. Once I resize my window, everything works as intended, but it is horribly stretched until the window is resized for the first time and the canvas size recalculates.
Is there any way to force the canvas size to recalculate immediately? I don't want this stretch effect
Initial stretched version (upon reloading site). The canvas has a height attribute of 575, the particles appear as if the canvas was 575px but are stretched to fit the full content.
After resizing the window, the canvas height goes to 100% of parent div like it should, and everything works as intended
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The canvas starts at a default height. Any CSS selectors that set the height to 100% only stretch the particles, not change the height attribute of the canvas. Once I resize my window, everything works as intended, but it is horribly stretched until the window is resized for the first time and the canvas size recalculates.
Is there any way to force the canvas size to recalculate immediately? I don't want this stretch effect
![image](https://user-images.githubusercontent.com/45266424/116317609-ce0bfd00-a770-11eb-8f71-d8aff56ff445.png)
Initial stretched version (upon reloading site). The canvas has a height attribute of 575, the particles appear as if the canvas was 575px but are stretched to fit the full content.
After resizing the window, the canvas height goes to 100% of parent div like it should, and everything works as intended
![image](https://user-images.githubusercontent.com/45266424/116317718-f3990680-a770-11eb-9e21-3bd6e4003228.png)
The text was updated successfully, but these errors were encountered: