Skip to content

Website: Horizontal AST scrolls also irreversibly scroll the code editor #6108

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

Closed
JoshuaKGoldberg opened this issue Nov 27, 2022 · 0 comments · Fixed by #6516
Closed

Website: Horizontal AST scrolls also irreversibly scroll the code editor #6108

JoshuaKGoldberg opened this issue Nov 27, 2022 · 0 comments · Fixed by #6516
Labels
accepting prs Go ahead, send a pull request that resolves this issue bug Something isn't working package: website Issues related to the @typescript-eslint website website: playground

Comments

@JoshuaKGoldberg
Copy link
Member

JoshuaKGoldberg commented Nov 27, 2022

Suggestion

  1. Setup [playground demo]
    • Have a line of code such as console.log("abcdefghijklmnop"); in code editor
    • Enable an AST viewer
    • Shrink your browser width so that the AST viewer needs to horizontally scroll to see everything
  2. Click within the code
  3. Click to the right of the code

The code editor will be scrolled horizontally, with no way to take it back:

Screen.Recording.2022-11-27.at.11.35.54.AM.mov

cc @jimsu2012, re #5667 - not sure if caused by that one, but seems at least related & in the same code area.

@JoshuaKGoldberg JoshuaKGoldberg added bug Something isn't working accepting prs Go ahead, send a pull request that resolves this issue package: website Issues related to the @typescript-eslint website website: playground labels Nov 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepting prs Go ahead, send a pull request that resolves this issue bug Something isn't working package: website Issues related to the @typescript-eslint website website: playground
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant