If you're on https://cs.m.wikipedia.org/wiki/Pes_dom%C3%A1c%C3%AD#/talk/2 and writing some comment, and click (intentionally or by mistake) on some of the links on the page, your comment will be discarded without warning.
# Proposed solution
The talk page interface should warn users before leaving the page, similary to what edit interface (on desktop at least) already does.
# developer notes
The onBeforeExit function for the add new talk section overlay can be pulled out and reused here with a few modifications. See also T228235
# QA notes
On the beta cluster in AMC mode, click talk button and click one of the topics. Type text in the reply box and click the arrow button in top left.
* Clicking cancel should prevent the overlay from exiting.
* Click browser back button. Click cancel to protect your edits.
* Click BROWSER back button and say yes - your edits should be lost
* Click back button and say yes - your edits should be lost