mjackson / mjackson/shadowbox

Image Opening in Wrong Position if Scrolling

Open
#54 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
293
Forks
110
PR merge metrics
No merged PRs in 30d

Description

So I have an issue with ShadowBox, if I scroll down and try to open an image, it will always open at the very botton of the page, not the center. Only if I not scroll down that the opens in the correct position. I tried tho change some lines in the CSS but it was to no avail. Someone could help me a bit on this?

Also this don't happen in any mobile device, so I guess this is only to computer browser. Also I tested in differente browsers like Firefox and Chrome, giving me the same result.

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

Reproduce the issue in ShadowBox on a desktop browser by scrolling down before opening an image, using the Firefox or Chrome cases described. Start by locating the image-opening and positioning behavior; done means the image opens in the center after scrolling, while preserving the working behavior at the top of the page and on mobile.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.