When editing a field in a card, a scrollbar will appear on the right, when there’s too much content. But this ends up being very annoying when I want to scroll, because if my cursor happens to be over the field text box, it will scroll the text area instead.
In the screenshot below: the “Excerpt” field is scrollable, so I have to go out of my way to put my cursor outside of the field if I want to scroll the panel to scroll to a different field. It barely accommodates any more content anyways.
I tried looking for a setting to disable scrolling for fields in "Fields…” and in “Preferences > Editing” but couldn’t find one.
Disabling field scrolling (and instead always expanding the size of the edit area) is not the only solution, and completely disabling it would would be disorienting in case someone accidentally pasted large content to a field. It could also modify the maximum non-scrolling size (I’m not sure how this is computed… evidently the “ExcerptEnglish” field in my example also is (needlessly) scrollable, even though it’s much smaller than the “Excerpt” field. Another idea could be to make scrolling past the end scroll the parent.
I tried looking for previous mentions of this on the forums but couldn’t find any (which is a little surprising, I feel that many people would run into this), so hopefully someone knows of some relatively hidden setting.
Not really. That’s the default behavior of interfaces like this one as far as I know; if you hover over a scrollable child object and scroll, then that child scrolls. Some websites implement it in a way were scrolling further than the childs content will scroll the parent, like you described here:
There is no such setting. Though I have to say that my anki doesn’t behave like yours at all. The fields grow and there is only a single scrollable view; the parent view. In other words: my fields don’t have individual scrollbars.
Maybe this is due to OS differences? Or you’re not on the latest Anki version?
I can’t reproduce this in Windows 11 with Anki 25.09.2. I don’t recall seeing it in prior versions either, and I definitely have some fields with long content that I have to scroll-and-scroll to get past.
Is it possible that you have an add-on that is creating those per-field scrollbars? You can restart in safe mode – Troubleshooting Checklist#2 – to quickly check.
Does this happen in the Add Note window, the Edit Note window (from the study screen), the Browse window note editor, or multiple/all of those?
Sorry should have included version info: Windows 11, Anki Version 25.07.5 (7172b2d2) Python 3.13.5 Qt 6.9.1 Chromium 122
Safe mode doesn’t make a difference. Sorry, I should have gone through the troubleshooting checklist, I know there’s a huge message when you write a post.
I think it’s due to Editing font (I’m using Andika), though even if there are only non-latin characters it still appears. If I just have a picture (as in the first screenshot in this post), there is no scrollbar. I’m guessing there’s a font-size mismatch, since it doesn’t happen with the my other cards where it’s using the default font.
This also happens with Doulos SIL and Myanmar text, but not Gentium, Franklin Gothic, and some other fonts. (I’m just testing random fonts). I remember reading that SIL updated the Andika font to get rid of the line spacing or something like that. So probably the font size comes from the font file and it’s using some wrong calculation, like maybe manually subtracting the max-y and min-y or something. idk.
With Andika, If I decrease the font size to 12pt or lower, the scrollbar goes away. I guess I’ll do that as a work around for now, or set a different editing font
is where the issue occurs. If the css for anki-editable is adjusted, the issue disappears.
At least for cmex10 the fix is not related to the font size but the min-height of anki-editable.svelte-nb6dez instead. For some reason min-height: 3em; or greater must be set, else the scrollbar appears.