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
There's no limitation on p5 in this package. This package simply wraps the p5 value constructed via instance mode.
You should check upstream if you can't see the function being correctly exposed. If it is correctly exposed and you say that your "workaround" works though, I would assume it's a next issue OR that the instance mode event handler works differently when compared with global mode.
Expected Behavior
p5.windowResized = () => {}
should be triggered when the window is resizedActual Behavior
Doesn't fire. Should it be supported or is this by design/limitation?
Steps to Reproduce the Problem
Note: I am using NextJS but I assume this is not an issue specific to @p5-wrapper/next
Specifications
On Mac using Brave
"@p5-wrapper/next": "^0.2.0"
"@p5-wrapper/react": "^4.2.0"
The text was updated successfully, but these errors were encountered: