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

IE11 bug in one of dependencies: Access is denied (scroll-into-view-if-needed => compute-scroll-into-view) #24408

Closed
1 task done
ichuyko opened this issue May 22, 2020 · 2 comments

Comments

@ichuyko
Copy link
Contributor

ichuyko commented May 22, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

scroll-into-view/compute-scroll-into-view#676

Steps to reproduce

Steps to reproduce:

  1. You need App1 with iFrame
  2. set document.domain of app1 to domain.com
  3. You need App2 that load into App1 iframe
  4. set document.domain of app2 to sub.domain.com
  5. Try to scroll some pages with Menu items (Usage of function getFrameElement with a crash with error: Access is denied)

What is expected?

No crashes

What is actually happening?

Application crash

Environment Info
antd 4.2.4
React 16.13.1
System Windows
Browser IE11

PullRequest with the fix: scroll-into-view/compute-scroll-into-view#680

@ichuyko
Copy link
Contributor Author

ichuyko commented May 22, 2020

Error in console:
Access is denied

@ichuyko ichuyko changed the title IE11 bug in one of dependencies (scroll-into-view-if-needed => compute-scroll-into-view) IE11 bug in one of dependencies: Access is denied (scroll-into-view-if-needed => compute-scroll-into-view) May 22, 2020
@afc163
Copy link
Member

afc163 commented May 28, 2020

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

No branches or pull requests

3 participants