GUAC-958: Work around iOS 7 visibility issue (again) by using object instead of iframe. The resize sensor needs to be where it used to be in the DOM for proper operation.
This commit is contained in:
1 parent
5a95edfb71
commit
5f6f63c5f7
6 files changed
+8
-8
No files matched your search
@@ -106,7 +106,7 @@ angular.module('osk').directive('guacOsk', [function guacOsk() {
|
||||
};
|
||||
|
||||
// Resize keyboard whenever element changes size
|
||||
resizeSensor.contentWindow.addEventListener('resize', resizeListener);
|
||||
resizeSensor.contentDocument.defaultView.addEventListener('resize', resizeListener);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
-->
|
||||
|
||||
<!-- Resize sensor -->
|
||||
<iframe class="resize-sensor" src="app/osk/templates/blank.html"></iframe>
|
||||
<object type="text/html" class="resize-sensor" data="app/osk/templates/blank.html"></object>
|
||||
|
||||
</div>
|
||||
Reference in new issue
Block a user