0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 01:25:48 +01:00
gitea/web_src/js/markup
silverwind 9ce5e092f3
Fix scroll over mermaid frame (#21925)
When starting a scroll while the mouse is over a mermaid diagram, the
scroll sometimes propagates to the iframe, preventing the parent page
from scrolling. Fix this by disabling scroll inside the iframe. This is
not a problem because those frames are never meant to scroll. Bug seems
to affect Firefox only.


![scroll](https://user-images.githubusercontent.com/115237/203847578-6831e3c8-9df4-4577-8501-822fb9ea1278.gif)
2022-11-24 20:56:57 +00:00
..
anchors.js
codecopy.js
content.js
math.js
mermaid.js
tasklist.js