-
Notifications
You must be signed in to change notification settings - Fork 8
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
Blank Canvas after calling applyBlur() in React #1
Comments
Hi @djaffer Can you please share a code snippet or repo link for me to test and try.. I haven't tested specifically on react but on vannila JS or TS projects. |
Also I'm planning on making a react specific guide and changes soon. No ETA though. |
@djaffer segmentBackground() needs to be called before applying any kind of effect. If segment background runs successfully then applyBlur() should run without any issue as it's just a css filter on top of the segments. |
I had to pause and play again for it to take it into effect.
|
Great work there!
I do get this error often. Couple of suggestions/Good to have.
|
Okay got it. Must be how react handles few things. Regarding your suggestions:
|
thanks. Got it. Was there any particular reason to use Vite rather react. |
thanks. Got it. Was there any particular reason to use Vite rather react. |
Vite isn't a react replacement but a create-react-app replacement. It uses modern architecture to compile and run applications way faster when compared to CRA. I've made it keeping mind webrtc and video calls only. |
thanks, but the issue on the opposite side the issue is to make it mirror mode. |
Okay. I'll add a new param to flip the background in next versions. |
So if it's okay then should I close this issue for now? |
yes I can close |
I am trying to use this package in react? Is there anything else that has to be done other than what is in the document? The canvas is just blank after calling apply blur.
The text was updated successfully, but these errors were encountered: