-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
Bug: Webcam/Screen-share video rendered inside Rnd disappears on safari when moved/resized #904
Comments
@Liron-Toledo Did you find a solution/workaround for this? I am having the same problem on iPad safari. It was working fine on iOS 15 but is breaking on iOS 16+ |
Hey @i-am-anshul sadly not. Ya I neglected to mention in the issue but this bug does seem to only trigger on IOS 16+. I was planning on maybe cloning the repo and digging into the code myself. Hopefully see what might be causing the issue but there's a lot on my plate at work right now so not sure when I'll be able to properly do that. Safari bugs are just the worst man :( |
For anyone that cares. I ended up having to replace Rnd with a custom component I made using react-draggable and react-resizable. |
Has anyone solved this problem? It's a really strange bug. |
How to replace Rnd? |
Bug
Browser Bug (Safari)
Overview of the problem
I'm using react-rnd version [10.4.1]
My browser is: Safari
I am sure this issue is not a duplicate? I think
Reproduced project
Re-created in a sandbox here:
https://codesandbox.io/s/rnd-video-ios-bug-u0vqx9
Description
When streaming a webcam or sharing a screen to a video element and then rendering that video element inside the Rnd component, if on Safari, the video dissapears the moment the Rnd component is moved or resized.
Some interesting things to note:
Steps to Reproduce
Expected behavior
Resizing or moving the Rnd component on safari shouldn't cause the video to disappear. (I.e how it behaves on chrome)
Actual behavior
Resizing or moving the Rnd component on safari causes video to disappear
The text was updated successfully, but these errors were encountered: