Iddan Aaronsohn

Results 243 comments of Iddan Aaronsohn

Do you pass width and height to your component?

`createImageData()` is not supported currently (though it should be pretty easy to implement PRs are welcome). Can you try using `new ImageData(...)` instead?

I'm guessing the bug has to do with the code for fixing the resolution of the canvas to match the resolution factor of the device. PRs are welcome

Hey, thank you for trying React Native Canvas and reporting this issue so well. I am not quite sure what is causing the flickering but it will require some debugging...

Hey @zhiqiangx, sure you can! I'd be happy to review it.

Currently, I don't have a solution for this except not awaiting when drawing the frame. If someone figures it out let me know!

Hey! Can you share your code so I could give an advice?

It seems like `removeEventListener()` implementation is missing. It should be added here: https://github.com/iddan/react-native-canvas/blob/983aa21d6eef86c108cd3b15b87ca373ffe221f4/src/webview-binders.js#L101

I'm not available to do this currently but very willing to guide for a PR.

Hey SiJieMa, thank you for using React Native Canvas. Currently, the implementation misses a definition for the `removeEventListener()`. To implement it you should mimic the implementation of `addEventListener()`. As said...