-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Heading level specific padding stops cursor #656
Comments
#589 should be a problem |
Jei-sKappa
added a commit
to Jei-sKappa/appflowy-editor
that referenced
this issue
Mar 21, 2024
Previously the `moveVertical` function only moved the cursor 'node to node' without thaking into consideration multiline nodes or some portion of a line with different fontSize (ex: a paragraph with size 16 but with a bolded word with size 32). This was caused by the PR AppFlowy-IO#657 that closes AppFlowy-IO#656 and AppFlowy-IO#589.
Jei-sKappa
added a commit
to Jei-sKappa/appflowy-editor
that referenced
this issue
Mar 28, 2024
Previously the `moveVertical` function only moved the cursor 'node to node' without thaking into consideration multiline nodes or some portion of a line with different fontSize (ex: a paragraph with size 16 but with a bolded word with size 32). This was caused by the PR AppFlowy-IO#657 that closes AppFlowy-IO#656 and AppFlowy-IO#589.
Jei-sKappa
added a commit
to Jei-sKappa/appflowy-editor
that referenced
this issue
Apr 13, 2024
Previously the `moveVertical` function only moved the cursor 'node to node' without thaking into consideration multiline nodes or some portion of a line with different fontSize (ex: a paragraph with size 16 but with a bolded word with size 32). This was caused by the PR AppFlowy-IO#657 that closes AppFlowy-IO#656 and AppFlowy-IO#589.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Adding a different padding for each heading level stops the cursor from moving up using the arrow key when it is at a heading.
How to Reproduce
To reproduce, specify different padding for each heading level in the HeadingBlockComponentBuilder.
Expected Behavior
The cursor should be able to move up using the arrow key.
Operating System
MacOS
AppFlowy Editor Version(s)
2.2.0
Screenshots
Unable to move my cursor to the 'Hi' line using the up arrow key.
Additional Context
It works fine if I return only a single padding.
The text was updated successfully, but these errors were encountered: