Skip to content
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

Improve outline scroll to headline #4460

Closed
provokateurin opened this issue Jul 8, 2023 · 3 comments
Closed

Improve outline scroll to headline #4460

provokateurin opened this issue Jul 8, 2023 · 3 comments
Labels
enhancement New feature or request needs info

Comments

@provokateurin
Copy link
Member

Is your feature request related to a problem? Please describe.
When I click on a headline in the outline it scrolls to the headline correctly, but the position is weird.
If you previously were above the headline, the headline is positioned at the bottom.
If you previously were below the headline, the headline is positioned at the top (and even hidden because of the toolbar).

Describe the solution you'd like
The headline should be positioned in the center of the editor when scrolling to it.

Describe alternatives you've considered
Could also always be positioned at the top, but then it shouldn't be hidden by the toolbar.

@provokateurin provokateurin added the enhancement New feature or request label Jul 8, 2023
@mejo-
Copy link
Member

mejo- commented Nov 1, 2023

Dear @provokateurin, could you provide a screencast of the issue? I'm unable to reproduce it. When clicking a heading in the outline, the heading in question is always scrolled to the the top of the editor in my tests.

Do you encounter this issues in Text documents loaded from the Files app? Or in Collectives or some other app that uses Text?

@provokateurin
Copy link
Member Author

Hi, I'll try to do a screencast soon. As far as I remember it was in Collectives. The scrolling part works fine, just the position of the header could be improved in my opinion. It could be that this is fixed already since I opened the issue a few months ago. I'll check and let you know.

@mejo-
Copy link
Member

mejo- commented Sep 11, 2024

Let's close this for now. @provokateurin don't hesitate to reopen and provide a screencast if you still experience the issue.

@mejo- mejo- closed this as completed Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs info
Projects
None yet
Development

No branches or pull requests

2 participants