1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +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 Use a generic markup class to display externally rendered files and diffs (#15735) 2021-05-07 10:43:41 +02:00
codecopy.js Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
content.js Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
math.js Tweak katex options (#21828) 2022-11-17 09:04:09 +08:00
mermaid.js Fix scroll over mermaid frame (#21925) 2022-11-24 20:56:57 +00:00
tasklist.js Use explicit jQuery import, remove unused eslint globals (#18435) 2022-01-28 21:00:11 +00:00