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
I wrote a test example in cookbook-rn "resizing" and manage to reproduce something weird. I have a slider that control the surface size, and strangely the canvas manage to properly re-render only half of the time. I wonder if it's some inner properties of Expo GLView that defer a bit the resizing and therefore empty the canvas content a bit after our redraw logic updates.
maybe i need to write the redraw logic not in a "DidUpdate" but in a "after layout" or something?
"gl-react": "^4.0.1",
"gl-react-image": "^3.1.1",
"gl-react-instagramfilters": "^0.2.0",
"gl-react-native": "^4.0.1",
Latest version of gl-react and gl-react-native.
Expected behavior
Changing Surface style (height and width) should change sizes and rerender.
Actual behavior
Surface randomly disappears after changing the sizes.
Steps to reproduce the behavior
Change state and pass different props to Surface component.
Anyone had a similar problem and has any idea of what could be the reason?
The text was updated successfully, but these errors were encountered: