You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
I'm trying code annotations (nice feature, thanks!).
I've added code blocks in some of them.
The popup is not large enough to display the code block entirely (though the longest line has only 72 characters).
Therefore the code block has a scroll bar at the bottom.
But since the popup disappear on click, it is unscrollable.
Well, actually it is, but I have to click again on the annotation, several times if I want to scroll to the far right.
Expected behaviour
Allow scrolling code blocks in annotations. EDIT: or selecting text, even 🙂
Actual behaviour
Popup disappears when clicking anywhere in it.
Steps to reproduce
Write a code annotation with a relatively large code block in it.
Click on the annotation and try to scroll the code block horizontally.
Oops, the disappear-on-click functionality should only trigger when you click on the annotation marker. That's clearly unintended behavior – thanks for reporting!
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
I'm trying code annotations (nice feature, thanks!).
I've added code blocks in some of them.
The popup is not large enough to display the code block entirely (though the longest line has only 72 characters).
Therefore the code block has a scroll bar at the bottom.
But since the popup disappear on click, it is unscrollable.
Well, actually it is, but I have to click again on the annotation, several times if I want to scroll to the far right.
Expected behaviour
Allow scrolling code blocks in annotations. EDIT: or selecting text, even 🙂
Actual behaviour
Popup disappears when clicking anywhere in it.
Steps to reproduce
Package versions
Configuration
System information
The text was updated successfully, but these errors were encountered: