mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 20:39:49 +08:00
* fix: stop Partner responses with Escape Fixes #766 * fix(partners): let an open overlay keep Escape for itself The streaming Escape listener is bound on window, so it also fired for dismissals aimed at a Modal, PickerShell, ConfirmDialog or preview drawer — closing the dialog killed the partner's answer with it. Bail while any overlay is mounted; every one of them carries a dialog role and unmounts on close, so the DOM answers the question directly. --------- Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>