I am using OpenLayers 3 (3.13.0) and jQuery UI (1.11.4).
All the jQuery components (dialog box, tooltip, autocomplete) do not work in Chrome and Firefox, in fullscreen mod, initiated using the OpenLayers fullscreen control.
And then I followed this example: Displaying elements other than fullscreen element (HTML5 fullscreen API)
This solution actually worked on Chrome, but not on Firefox.
Also I noticed that, going into fullscreen mode, using the fullscreen of Firefox itself doesn't cause any issues, so I assume it is related to OpenLayers control. Do you have any idea why?
EDIT:
Can you also tell me how to do it?
new ol.control.FullScreen({
source: document.getElementById('map'),
document.getElementsByClassName("ui-autocomplete"),
document.getElementsByClassName("ui-dialog"),
document.getElementsByClassName("ui-tooltip")
})
did not work.
I am trying to add the classes, because the div's where these functionalities are used are already inside the map div.
EDIT 2:
Ok, I noticed that classes are not added to the map div, so I gave an id to the body, and used that inside source, and it worked!
new ol.control.FullScreen({
source: document.querySelector("#body")
})