# Note editor jumps when previous focus was in HTML editor

**URL:** <https://forums.ankiweb.net/t/note-editor-jumps-when-previous-focus-was-in-html-editor/64710>\
**Category:** Help\
**Created:** [July 27, 2025, 11:00pm UTC](https://forums.ankiweb.net/t/note-editor-jumps-when-previous-focus-was-in-html-editor/64710 "2025-07-27T23:00:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhhr](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/jhhr/32/21339_2.png) [@jhhr](https://forums.ankiweb.net/u/jhhr)\
**Post date:** [July 27, 2025, 11:00pm UTC](https://forums.ankiweb.net/t/note-editor-jumps-when-previous-focus-was-in-html-editor/64710/1 "2025-07-27T23:00:01Z")

</div>

Possibly a bug with the note editor? I checked if this happens without any addons and it does.

Version ⁨25.02.5 (29192d15)⁩  
Python 3.10.9 Qt 6.7.0 PyQt 6.7.0

In the browser:

1. Open HTML editor for any field
2. Click inside, putting focus in the HTML editor input
3. Select a different note
4. Scroll to a different part in the note editor and click anywhere
5. The view jumps to the position of the HTML editor where the focus was previously

This doesn’t happen when focus was in the non-HTML editor input.

Example screencast:

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [July 28, 2025, 10:50am UTC](https://forums.ankiweb.net/t/note-editor-jumps-when-previous-focus-was-in-html-editor/64710/2 "2025-07-28T10:50:13Z")

</div>

Logged on [Note editor jumps when previous focus was in HTML editor · Issue #4234 · ankitects/anki · GitHub](https://github.com/ankitects/anki/issues/4234)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [August 27, 2025, 10:50am UTC](https://forums.ankiweb.net/t/note-editor-jumps-when-previous-focus-was-in-html-editor/64710/3 "2025-08-27T10:50:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
