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

Embedding a Stackblitz embed into an article forces the page to scroll the instance into view #18727

Open
KrofDrakula opened this issue Nov 13, 2022 · 2 comments

Comments

@KrofDrakula
Copy link

KrofDrakula commented Nov 13, 2022

Describe the bug

Embedding Stackblitz projects (the new beta) in articles causes the page to scroll the embed fully into view without user interaction.

To Reproduce

  1. Open an article with a Stackblitz embed
  2. Immediately after page loads, scroll slightly or leave the page unscrolled.
  3. Browser sometimes scrolls the Stackblitz embed fully into view after it is loaded.

The problem is illustrated in the screen recording.

Expected behavior

The page should not modify scroll position while loading or reading the article.

Screenshots

screen-recording.mp4

Desktop:

  • MacOs, 13.0.1 (M1)
  • Browser, version: Chrome 107 64-bit ARM64

Smartphone:

Viewing the article on an updated Android Pixel 5 (Chrome 107) does not scroll the page, but it does show "Unable to run Embedded Project: Looks like this project is being embedded without proper isolation headers. Read more about browser support for embedded projects".

@github-actions
Copy link
Contributor

Thanks for the issue, we will take it into consideration! Our team of engineers is busy working on many types of features, please give us time to get back to you.

Feature requests that require more discussion may be closed. Read more about our feature request process on forem.dev.

To our amazing contributors: issues labeled bug are always up for grabs, but for feature requests, please wait until we add a ready for dev before starting to work on it.

To claim an issue to work on, please leave a comment. If you've claimed the issue and need help, please ping @forem-team. The OSS Community Manager or the engineers on OSS rotation will follow up.

For full info on how to contribute, please check out our contributors guide.

@scottnath
Copy link

scottnath commented May 18, 2024

This is still happening. Example:

https://dev.to/scottnath/how-about-a-json-resume-web-component-with-configurable-microdata-2p1o

Of note: happens in both browser and forem app.

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

No branches or pull requests

2 participants