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

Minimap not working when content is larger than one screen? #471

Open
lucasmoeskops opened this issue Apr 3, 2024 · 0 comments
Open

Minimap not working when content is larger than one screen? #471

lucasmoeskops opened this issue Apr 3, 2024 · 0 comments

Comments

@lucasmoeskops
Copy link

Describe the bug
I just tried to use the MiniMap feature, of which I really like that it's supported. Basically it works directly, which is really nice. There seems to be a bug with it however for my specific case. My content takes up about 5 screens horizontally and 2 screens vertically. However, the MiniMap seems to assume the content width is at most until the end of the screen. The red-bordered area is correct on the top and on the left area, but on the bottom and the right it always stretches to the very end of the minimap, even though I'm only seeing a small part of the content.

Is it maybe not suited for content that is bigger than 1 screen?

To Reproduce
Steps to reproduce the behavior:

  1. Create a transformwrapper and transformcomponent of a html component that is bigger than 1 screen width
  2. Use the minimap
  3. Notice that it stretches to the very end, even though not all content is visible.

Expected behavior
The Minimap visible bordered area should show the right area compared to the whole size of the html element, and not just to the end of the screen.

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

1 participant