Skip to content
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

Iframe inside panels #64

Closed
danilowoz opened this issue Jan 5, 2023 · 3 comments · Fixed by #66
Closed

Iframe inside panels #64

danilowoz opened this issue Jan 5, 2023 · 3 comments · Fixed by #66

Comments

@danilowoz
Copy link
Contributor

I noted that the drag event doesn't work correctly when there's an iframe inside a Panel. It could be because the dragging listener is on the main window, and it doesn't consider the other window, which is the iframe.

Here's a screenrecording (sandbox):

Screen.Recording.2023-01-05.at.14.06.37.mov

Possible solution

It just works if you set point-events: none on the iframe.

Screen.Recording.2023-01-05.at.14.13.17.mov
@bvaughn
Copy link
Owner

bvaughn commented Jan 5, 2023

@danilowoz I think #66 should resolve this issue.

bvaughn added a commit that referenced this issue Jan 5, 2023
Disable Panel pointer-events during resize
@bvaughn
Copy link
Owner

bvaughn commented Jan 5, 2023

v0.0.29 just released

@chdominguez
Copy link

This happens on v0.0.51. I used disablePointerEventsDuringResize in the panel group but the bug is still present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants