-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Correct scroll sync issues #1253
Conversation
…web-languageforge into issue/1133-scroll-sync
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fantastic PR that squashes some bugs that have been out there for years. Many thanks for also finding some methods that were async but not explicitly set as such. This should help with weird behavior as well. Great job!
merging per conversation with @longrunningprocess |
Thanks @megahirt , it definitely gets the job done. I would've preferred not to compromise on the solution but the |
@longrunningprocess This is such a great improvement that I wanted to get this in with the current deployment that we are testing on QA, so I did a bit of extra git to move it into staging. I'm very excited about this. In my testing, I found another use case that isn't current working that I can reproduce. I've added it to the "tested in staging checkbox above"
Here are the repro steps:
This only appears to happen when the app hasn't loaded before, so if you go to the list a second time without leaving the project, the scroll to entry works as designed. I suspect this is a case where an async method is called synchronously, as you discovered in our code (which is all over) |
good find, thank you! I'll look at that today and plan on creating a PR against staging for your review. |
bummer, I'm having a hard time reproducing it locally at least...mine is with a non-S/R type project. I'll add that same project you used and see if the problem has something to do with S/R projects. Screen.Recording.2021-12-01.at.11.24.41.AM.mov |
having some trouble getting S/R to work locally but I was not able to reproduce in QA either...maybe I'm missing something in the use case set up? Screen.Recording.2021-12-01.at.2.12.30.PM.mov |
ok, I'm getting it now. I had to throttle the network down to a fast 3G and that does it. |
made an attempt at this in here: staging...bugfix/broken-scroll-during-poor-connections This resolves the issue even at "slow 3G" throttling...it's still a gross fix but it might work for a while. All other scenarios still test out fine with this impl. I couldn't find a situation where that |
Description
There are a number of scenarios where the user can be left disoriented by the fact that the entry that is selected is not visible in the full list of entries on the left. Some of the use cases are outlined in the comments of #1133
Fixes #1133 Fixes #1130 Fixes #1014
Type of Change
Only keep lines below that describe this change, then delete the rest.
Screenshots
Video's demoing the fixes are already captured in the issue comments.
Verified / Tested on Staging
Checklist: