Bug in code minimap

Problem description: When showing the minimap, long lines that wrap in the editor do not wrap in the minimap

Expected behavior: The minimap should visually look the same as the code

Actual behavior: long lines get cut off in the minimap

Steps to reproduce: Create a new file, click the dropdown and click minimap. Then select characters. Type an excessively long line, such as “aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa”. Observe that it wraps in the text editor but does not appear to wrap in the minimap.

Bug appears at this link:

Browser:
OS:
Device (Android, iOS, n/a leave blank):
Plan (Free, Hacker, Pro Plan):

Browser: Chrome
OS: MacOs
Device: Computer
Plan: Free
Bug appears at Screenshot-2023-09-07-at-11-06-55-AM hosted at ImgBB — ImgBB

Hey @JBlitzar!

Thank you for the reproduction steps. I was able to reproduce the issue and have flagged this to the team. Keep an eye out in this thread for any updates!

1 Like