PrismJS / live

Prism Live: Lightweight, extensible editable code editors. A work in progress, try it out at your own risk (and report bugs!) :)
https://live.prismjs.com
MIT License
105 stars 28 forks source link

Wrong render of code when x-scroll is visible #4

Open sergwx opened 4 years ago

sergwx commented 4 years ago

Description Wrong render of code when x-scroll is visible. Behavior present on https://live.prismjs.com/ using Firefox but is present on Chrome too with other code but less disturbing.

Screenshot 80557830-e53ed000-89e0-11ea-8a31-fb1575ed3a3d

LeaVerou commented 4 years ago

Thanks for reporting! Could you give me some more details? I can't reproduce in my Firefox. What's your OS & Firefox version?

sergwx commented 4 years ago

Microsoft Windows [Version 10.0.17763.1158] 1920x1080 Resolution Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0 (fresh install without any browser-addon/extension)

You need to scroll at bottom of snippet and select just last 10-15.

AgentEnder commented 4 years ago

image I can confirm this is still an issue in latest chrome, easily seen in the underscores.