show less should scroll back to where you were
Describe the bug clicking show less on a long post which you opened up via a show more button doesnt scroll you back to where you were. instead it leaves you at the same scroll point and which takes you back a number if posts in your timeline
To Reproduce
- find a very long post
- click show more
- read it
- click show less
Expected behavior scroll back to whete you were
Screenshots or video
https://we.tl/t-ezqJEPRd8x
Versions Android 13.0 pachli 2.5.2
Affirmation I have checked other issues for this project (open and closed) and I cannot find one that matches the problem I am reporting.
the post i used
https://infosec.exchange/@david_chisnall/112506276259683263
Note to self: this can't be changed in Android.
Possible approach to try:
After clicking show less, check to see if the post is still on screen somewhere. If it is, do nothing. If it isn't, jump scroll to make the post visible.
That might have significant race conditions, as I'm not sure it's possible to reliably wait until the post collapse animation has completed.