Skip to content

Fix Zen Mode not closing with ESC key

Stan Hu requested to merge stanhu/gitlab-ce:fix-escape-key-in-zen-mode into master

What does this MR do?

This MR fixes the ESC key not leaving Zen Mode (fullscreen).

Why was this MR needed?

This has been broken since GitLab v7.8. The change event for zen-toggle-comment was never fired. See:

http://stackoverflow.com/questions/19505011/checkbox-checked-with-prop-does-not-fire-events-attached-to-change?answertab=votes#tab-top

What are the relevant issue numbers?

Merge request reports