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

Folding doesn't always set the point back to the root thread #14

Open
guibor opened this issue Feb 19, 2021 · 3 comments
Open

Folding doesn't always set the point back to the root thread #14

guibor opened this issue Feb 19, 2021 · 3 comments

Comments

@guibor
Copy link

guibor commented Feb 19, 2021

When I fold an unfolded thread, I would expect the point to remain on the thread (at the root, which is now the only visible message). Yet this is not always the case.

@rougier
Copy link
Owner

rougier commented Feb 19, 2021

Could you give me some details (or screenshot)? You mean the cursor move to next or previous line when you fold ?

@guibor
Copy link
Author

guibor commented Feb 21, 2021

What I mean is - say I unfold a thread, move to the second message, and then refold the thread. I would expect the point to be back to the root, but that's not always the case.

FWIW I used to load these hacky functions here
https://gist.github.com/felipeochoa/614308ac9d2c671a5830eb7847985202 and toggling untoggling worked fine

@rougier
Copy link
Owner

rougier commented Feb 21, 2021

Toggling is now functional (but the first li e, need to fix it). As for staying on the same line, I think I need to implement navigation (next / prev) taking visibility into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants