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

Scroll to Ctrl+Z/Y action #4344

Open
provokateurin opened this issue Jun 22, 2023 · 4 comments
Open

Scroll to Ctrl+Z/Y action #4344

provokateurin opened this issue Jun 22, 2023 · 4 comments
Labels

Comments

@provokateurin
Copy link
Member

Is your feature request related to a problem? Please describe.
When you press Ctrl+Z/Y the line where you are currently editing might not be in view. This is quite confusing because you can't see what is going on.

Describe the solution you'd like
The content should scroll to where there cursor currently is.

Describe alternatives you've considered
Maybe block Ctrl+Z/Y when out of view, but that is also not great.

@provokateurin provokateurin added the enhancement New feature or request label Jun 22, 2023
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Jun 22, 2023
@provokateurin
Copy link
Member Author

I think this can be generalized such that every time you type something the cursor should either be already in view or the content needs to scroll that the cursor is in view. That would cover the mentioned editing shortcuts as well.

@juliusknorr
Copy link
Member

I think this can be generalized such that every time you type something the cursor should either be already in view or the content needs to scroll that the cursor is in view. That would cover the mentioned editing shortcuts as well.

For normal typing this should already work, or did you encounter an issue with that?

@provokateurin
Copy link
Member Author

I think when I wrote the comment it wasn't working for me, but I just tried it in Text and it worked.
Now I also tried it in Collectives and there it works but the header at the top is still above the cursor, so it's actually not in view. Shall I open a separate issue for that in Collectives?

@juliusknorr
Copy link
Member

Thanks, yes, a separate one would be good for that. It might need a upstream fix in text still but if it only happens in collectives, let's track it there at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🧭 Planning evaluation (don't pick)
Development

No branches or pull requests

2 participants