App Size - Fixing Overflow Problems

Some elements when positioned absolute or fixed will not overflow the page. Therefore, when DroneDeploy calculates the size of your application it won't include these overflown elements.

See below for an example of how to fix this problem.

<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
      position: fixed;
      height: 500px;
      width: 200px;
      background-color: grey;
      top: 30px;

<button>Toggle Overlay That Doesn't Reflow the Page</button>

<div class="overlay" style="display: none;">
  This overlay is positioned fixed so when the DroneDeploy calculates the size of your app (document.body.scrollHeight) it won't include this element.

var toggleButton = document.querySelector('button');
var overlay = document.querySelector('.overlay');

var showOverlay = false;
toggleButton.addEventListener('click', function(){
  showOverlay = !showOverlay;

  if (showOverlay){ = 'block'; = '600px';
  } else{ = 'none'; = '';


Last updated