Skip to content

Loading remix in an iframe triggers auto scroll (or focus) making it unusable for websites or documentation where the ide is provided to play with in non full screen mode #6084

@HarshRajat

Description

@HarshRajat

Describe the bug
Loading remix from iframe causes the focus to shift to the iframe even when the iframe is not within the viewport of the browser.

To Reproduce
Steps to reproduce the behavior:
Load remix.ethereum.org in an iframe that is not full screen, as soon as the loading is done, the focus is triggered even when the iframe is not within the page.

Expected behavior
The auto focus or auto scroll should not be triggered since the IDE can be used as a playground for developers in specific pages to help them understand how to write contracts without leaving the website.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows, Linux or MacOS]
  • Browser: [e.g. chrome, firefox]
  • Version: [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions