Cant use webix.Touch.limit() when fullscreen

I use this code to make my web app display in fullscreen mode:
!document.fullscreen ? document.documentElement.webkitRequestFullScreen() : location.reload()
There are 2 problems:
1. When in fullscreen i cant use finger to controll anymore. (webix.Touch.limit())
2. Can u told me how to exit fullscreen mode without use location.reload() ?


  • someone pls help me... thanks!

  • edited August 2019

    Hey @duynq2197, let's go over the problems you are having:

    1.I've tried running a sample with your provided use case on a touch device, and the touch seemed to work just fine with webkitRequestFullscreen() enabled. Please make sure you've included your code inside the following construct for the touch capabilities to work properly:

       if ( webix.env.touch ){         // if touch device is detected
       webix.ui({ ... })

    You can try the aforementioned sample here: (and here is the source code), please tell me if you are having the same issues with this example as well.

    2.If we are going by the API you are already trying to use, then document.exitFullscreen should do the trick (as mentioned here it will minimize the current element being presented in fullscreen mode).

    As a side note, I would like to recommend you use webix.fullscreen API if you want to present any widget in a fullscreen mode. It's got 2 methods: set, which will enter the fullscreen mode, and exit, which will do the opposite.

  • Dear Dzmitry,

    1. Sorry because i not hard test. I found that it's work with datatable. But i can't touch another element like title, text, template,.... everythings.
  • In the example i want to touch area 'You can write any code here' and move. I cant touch that, only can move content datatable. :(

    1. Ok i did that. <3
  • In the provided example I've only focused on one element of the layout, if your intention is to put your whole app in the fullscreen mode you can do that as well: Note that the touch still works (the code used is the same as above, the only difference is the fullscreen target - document.body).

    Overall, I would like to recommend you use webix.ui.fullScreen() instead if your goal is to present your app in a fullscreen mode (on a mobile device). Please refer to the documentation for the correct way to initialize the method.

  • I can't double click to zoom or Miniature.

  • I find out the problem maybe is when run code:
    it's excute webix.ui.fullScreen() too and i can't move element anymore.
    So how to turn off or exit webix.ui.fullScreen() ?

  • I want to create a button when i click it's will do the action like the action when press button f11 on chrome

  • Do you have any idea ?

  • edited August 2019

    As I mentioned before, you could try webix.fullscreen API instead. It's got 2 methods: set, which will enter the fullscreen mode, and exit, which will do the opposite. So instead of:


    you would use


    The webix.ui.fullScreen() method only makes sure that the app siziing is correct on mobile devices, please make sure you are following the provided steps for the correct initialization:

  • thank you!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!