I have a problem when I'm working with issues and pull requests. Oftentimes I will go into an issue or PR, click a text box and start typing immediately (because I have something I need to add quickly before I forget). Oftentimes, something happens and focus is stolen from the text box _in the middle of typing_, which can be devastating because it triggers all sorts of keyboard shortcuts **and I have no idea which ones**.
This is a really terrible experience, if a user has started typing, focus should never be stolen. Heck if there is focus on a textbox/textarea, focus should never be stolen. I don't care if there's a popup saying that it's been updated by someone else, let me finish my thoughts. This did not always happen, I think sometime the past 6 months?
I have ADHD, so just "wait for an indeterminate amount of time in case something happens" is not a good answer to this as my working memory issues mean forgetting what I needed to write down is a very real possibility.