webix esc behavior on few full screens

hi i have two view opened (one on another) on full screen mode i need to achieve some behavior but don’t know how to do it:

  1. When press ESC close only the one full screen view (which is active now)
  2. The same thing with function webix.fullscreen.exit();

Hi, @roma
There can be only one fullscreen.view created via fullscreen set.
If you call fullscreen.set when there is a view in fullscreen mode, fullscreen.exit will be called before fullscreen.set

To achieve the expected behavior you can try to rewrite default handlers. Here’s an example: Code Snippet