Skip to content

Synchronized scrolling in live preview is offset after edit in case LaTeX formulas are present #656

@Arnache

Description

@Arnache

My config

Ubuntu 24.04LTS
ReText 8.02
Installed MathJax locally with sudo apt install libjs-mathjax

Issue, with steps to reproduce

Enable WebEngine (Chromium)
Type a somewhat long text with math in it.
Now move back to the middle of the edited text and type one character: then the preview auto-updates, but the scrolling is wrong (what you typed is off-screen).

Possible cause

I suspect the scrolling is computed before the math is rendered, because the preview shows TeX being gradually converted.

Workaround

You recover the right scrolling by pressing any arrow key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions