Chess.com is a bit of a memory hog; best probably not to have anything else going while you are playing. I'll get an article...
Drop out rules

Hope something here helps...
https://support.chess.com/article/213-how-do-i-fix-my-disconnect-lag-issues
Cheers for article, all makes sense but given we all have multiple apps and with latest processors and memory and access to multiple browsers then the issue probably is not with the user but with the app. As you say its memory hungry and outside of the wired connection my PC / connections all tally with advice. In principal i do think that the decision should be to err on the 'customers side' so as not to lose points and in this case i am pleased with the results so thanks.
Today i dropped out of a game and lost from what i consider a winning position. I checked the status of my other open browsers immediately - online bridge and others and i was still connected to them, but I just couldnt make a move on Chess.com or message my opponent. Having searched to see if there was an similar issue with Chess.com i found the locked discussion "Trick to drop opponent's connection?" link on google. Now i'm definitely not saying that this was the case with me however I would suggest the way the complainants issues were handled were pretty dismissive. The issue it occurs to me is not one of cheating or foul play but the systems / process fairness. If you drop out and are winning / losing you should have recourse to query this and at very least if it is found that there is a legitimate 'drop out' then the points loss should be negated. I am not suggesting you gain points just not lose them. This has now happened to me on 3 occasions and i am concerned that this is server side not my ISP / Local side. I would recommend that if a 'customer' identifies this to Chess.com then they look into the logs to see if the connection was lost and the position of play and err on the 'customers side' not to lose points. If this is repeat behaviour then obviously question the motive. I'd be keen to know how many times Chess.com is contacted with a similar issue and if they look into each one. Remember this is a paid service and it is based upon trust which is a two way thing.