Skip to content

Slate angular doesn't scroll/keep focus on input text, instead the new input text is below the view. #224

@shaylanger

Description

@shaylanger

Issue: When adding new text to the slate angular editor, if the text content exceeds the view (or browser window) the new text is typed below of the view, and in order to see the new text you must manually scroll down (and do this each time the text content goes out the bottom of the view)

Expected: When the newly typed content goes outside of the view, the editor should automatially scroll to keep the cursor and new text in the view.

This is a regression, as this behivour currently works on version: 1.6.3, and no longer works on version: 1.6.4

Here is a demo of the issue, were I have to scroll down to see the newly typed content:
Kapture 2023-03-14 at 13 00 53

from a quick look at commits, it looks like this was done intentionally to fix a table edge case issue: #144

Breaking commit: 2c96187

Can you please bring back scroll into view or some sort of functionallity that replicates it? This is a important feature of the editor to be able to keep the active content in the view.

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