question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Iframe bounces back to top when running tests

See original GitHub issue

Describe the Issue

There seems to be an issue with the Iframe (this happens when having an Iframe with a scrollbar)

So to reproduce:

  1. scroll down in the Iframe
  2. run the tests
  3. Iframe pops back to the top

This might be annoying when trying to see the changes you made.

Affected Page

https://freecodecamp.org/learn/2022/responsive-web-design/

Your code


Expected behavior

When running the test the Iframe should stay in place.

Screenshots

No response

System

  • Device: Desktop
  • OS: Windows 11
  • Browser: Brave
  • Version: V1.38.119

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
raisedadeadcommented, Oct 6, 2022

Move it out of draft when you want us to actually review it. That way it gets added to the review queue and someone from the team will get back to you when they get a chance.

For some reason, if you want early feedback the discord linked in our contributing docs is a good place to seek feedback.

1reaction
saw-jancommented, Oct 6, 2022

@Sembauke @moT01 I have created a PR for this with my idea (#47870). What do you guys think? Please, have a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Page jumps to top when iframe is clicked - Stack Overflow
From my investigation, its not caused by the iframe itself. Its cause by the javascript executed by the embedded google ...
Read more >
Documents in iframe lose scroll position when tabbing focus to ...
Issue 444948: Documents in iframe lose scroll position when tabbing focus to input ... 5. notice that the scroll position inside iframe jumps...
Read more >
iframe - Handling iFrame issue with Katalon Studio - Tools QA
This article shows you how to handle iframes properly in Katalon Studio. ... Why is it important to know how to test iframes?...
Read more >
Problem with IFrame - Katalon Studio
if I go to step1 then step2 then step 3, I am getting an error. Unable to verify image 'Object Repository ... There...
Read more >
Handling iFrame issue with Katalon Studio
A prevalent type of control used in a website is the HTML iframe. And this control needs to be handled in a specific...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found