logseq-panic-theme icon indicating copy to clipboard operation
logseq-panic-theme copied to clipboard

Content jumps when block heading is H3-H6

Open scottcs opened this issue 3 years ago • 2 comments

Hi, I love this theme but one tiny little thing is annoying: if you click on a block that has an H3, H4, H5, or H6 heading, so that block is focused, when you click around on sub-blocks, the contents of the whole block shift up and down briefly. This happens in both dark and light mode. This doesn't happen when moving the cursor around with the keyboard, just clicking with the mouse

https://user-images.githubusercontent.com/1170636/154762278-4281a889-c4df-42a1-bb67-960c0f6cde90.mov

.

scottcs avatar Feb 18 '22 21:02 scottcs

Hello, I am so sorry for such a late reply.

I checked Logseq original theme and the behaviour is the same but only across H1 - H3 which is really strange.

I haven't found any specific issue in the code, but I will investigate further. If you have any ideas please feel free to comment or submit a PR.

kirso avatar Mar 17 '22 05:03 kirso

Thanks for looking into it. I have since seen similar behavior in other themes, too, which lead me to believe it is an underlying issue with Logseq, as well. No worries.

scottcs avatar Mar 21 '22 17:03 scottcs