typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Heading Oscillating Between Single and Two Lines on Outline Sidebar

Open zichenzhang04 opened this issue 2 months ago • 0 comments

  • [x] Searched existing issues to avoid creating duplicates.

  • [x] Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • [x] Searched http://support.typora.io/


Describe the bug When hovering over a single-line heading in the outline sidebar, the heading oscillates between a single-line and two-line view, causing a flickering effect.

To Reproduce Open Typora and navigate to a document with multiple headings. In the outline sidebar, create and hover over a <h3> heading called "Discrete Latent Representation."

The heading "Discrete Latent Representation" changes to a two-line view and then switches back to a single-line view, repeatedly oscillating.

before: image after: image

Expected behavior When hovering over a single-line heading in the outline sidebar, the heading should remain as a single-line without flickering or switching to a two-line view.

Desktop:

  • OS: MacOS Sonoma 14.1.1

Typora Version Version 1.8.10 (7132)

zichenzhang04 avatar May 10 '24 08:05 zichenzhang04