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

Line numbers do not follow horizontal scrolling #2

Open
burgholzer opened this issue Jan 6, 2021 · 0 comments
Open

Line numbers do not follow horizontal scrolling #2

burgholzer opened this issue Jan 6, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@burgholzer
Copy link
Member

Problem:
Line numbers are displayed in a separate element as the algorithm text. While vertical scrolling works perfectly fine (scrolling is synchronized), horizontal scrolling does not work and the line numbers overlap with the scrolled text.

Steps to reproduce the problem:

  • Click the "Simulation" tab
  • Load an algorithm with rather lengthy instructions such as "Grover (5 qubits)"
  • Shrink the window/magnify the page until the algorithm text does no longer fit in the text box on at least one line.
  • Scroll horizontally

Expected behavior:
The line numbers should also be synchronously scrolled horizontally and hence not overlap with the algorithm text.

@burgholzer burgholzer added the bug Something isn't working label Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant