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

Resizing follows mouse on Chrome #901

Closed
reverie opened this issue Jan 9, 2021 · 14 comments
Closed

Resizing follows mouse on Chrome #901

reverie opened this issue Jan 9, 2021 · 14 comments

Comments

@reverie
Copy link

reverie commented Jan 9, 2021

Describe the bug
Our iframe resizes based on the position of the mouse in the parent window, rather than the content of the iframe. This only happens in Chrome. (Firefox and Safari work great and as intended).

To Reproduce
Using iframe-resizer in normal configuration
From parent frame, move mouse on and out of iframe
Iframe resizes unexpectedly

Expected behavior
Iframe only resizes based on content, not outer window mouse position

Screenshots
https://user-images.githubusercontent.com/73446/104103661-5d001280-5271-11eb-9529-546df636c8bc.mp4

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: Latest
@ImrozCinchy
Copy link

ImrozCinchy commented Jan 10, 2021

I am also having the same issue, any help will be appreciated.

@grokasm
Copy link

grokasm commented Jan 11, 2021

It appears the issue has been introduced in the latest release (4.3.0)
Reverting to 4.2.11 fixed the issue for me.

@davidjbradshaw
Copy link
Owner

@reverie I'm struggling to reproduce this. Can you please add the log output. Also do you see the same issue on the example?

@davidjbradshaw
Copy link
Owner

Also do you have version 4.3 in both the iframe and the parent page?

@davidjbradshaw
Copy link
Owner

Problem was if you had an older version on the parent page. Fixed in v4.3.1

@reverie
Copy link
Author

reverie commented Jan 11, 2021

@davidjbradshaw Right. Version mismatch, our mistake. Thanks for looking into this.

@davidjbradshaw
Copy link
Owner

In 4.3.1 it will disable the problem feature, if you don't have the at least 4.3.1 on the parent

@ImrozCinchy
Copy link

@davidjbradshaw So issue still persists for me when I move to version 4.3.1. It was all working before but when I installed iframe-resizer again it might have caused version mismatch but now it is just NOT working again even though if I go to back version when it was working.

@davidjbradshaw
Copy link
Owner

davidjbradshaw commented Jan 11, 2021 via email

@ImrozCinchy
Copy link

In the iframe it is 4.3.1 and on parent 4.2.10. So even if I revert iframe to 4.2.10 which was working before it just doesn't work now. There is no change in parent.

@davidjbradshaw
Copy link
Owner

davidjbradshaw commented Jan 11, 2021 via email

@ImrozCinchy
Copy link

It worked when I kept the versions same to older one both in iframe and parent.
Thanks for the updates.

@davidjbradshaw
Copy link
Owner

davidjbradshaw commented Jan 11, 2021 via email

@ImrozCinchy
Copy link

Yeah, it worked when I kept versions the same.

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

No branches or pull requests

4 participants