javascript-tutorial / javascript-tutorial/en.javascript.info

error in size-and-scroll task [Place the ball in the field center]

Open
#2,732 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

Despite fd81db7 attempts to fix this issue, the problem actually persists.

Safari 14 looks well:

![image](https://user-images.githubusercontent.com/47357585/136040601-61771586-07e7-40da-8e56-6f8b7ff47934.png)

Chrome 94 displays wrong:

![image](https://user-images.githubusercontent.com/47357585/136040484-71e868c9-a1db-42a8-a273-e1f5ec68b7be.png)

But it shows well after opening the page, is this maybe an iframe issue?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the “Place the ball in the field center” size-and-scroll task and reproduce the difference between Chrome 94 and Safari 14. Review the earlier fd81db7 attempt and compare the initial rendering with the state after opening the page, including whether the iframe is involved; done means the ball is centered consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.