This page uses the CloseWatcher API to allow closing the sidebar when you use the Esc key, or Android back button/gesture.

To get the native experience, including Android back button/gesture support, use Chrome 120+ or later.

Otherwise, you are getting the polyfill experience, which will work with the Esc key.

Demo source on Glitch