Skip to content

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Nov 24, 2022

Backport #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

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.
@silverwind silverwind added this to the 1.18.0 milestone Nov 24, 2022
@silverwind
Copy link
Member Author

might want to keep it 1.19 only for now.

@silverwind silverwind closed this Nov 24, 2022
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Nov 24, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
@wxiaoguang wxiaoguang deleted the backport-21925 branch January 26, 2025 16:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants