tomouchuu / mastodon-translate

Tampermonkey Script to add option to Translate Toots
The Unlicense
24 stars 2 forks source link

See if possible to stop scroll-jumps after translation #11

Open tomouchuu opened 7 years ago

tomouchuu commented 7 years ago

From @Chaos99

Occasionally I get unwanted scroll-jumps after translating making it hard to find the toot or the translation. But I can not reproduce it reliably. Probably it's new toots arriving while it's translating. Could this update be blocked, so the translated toot does not move? -- https://github.com/tomouchuu/mastodon-translate/issues/10#issuecomment-295643680

Just thinking about this I'm not sure I can block toots coming in while translating and then add them back in after the translation. I think the most likely thing I could do would be to maybe follow the toot, so on translation the feed scrolls down to that toot. Maybe could do some sort of highlight to indicate it was this toot. Will do some investigation on these in this issue.