Sidebar (master detail) - Error: onSidebarKeypress is not defined

I get this error when I have a sidebar added to a screen and click next to it to close the sidebar modal:

An exception occurred in the client script. Error: onSidebarKeypress is not defined

However I cannot see a place to define this specific event.

  • Is this Traditional Web or Reactive?
  • What platform version are you on?
  • Can you share a small OML that reproduces the issue?
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.