We are using the new Dropbox embedder to show files on our website. It is working overall, with the exception of excel sheet tabs. The excel sheet loads correctly, but on mobile devices the user cannot switch excel worksheets/tabs. There is an overlay menu that has buttons to switch to full screen or to print. I believe that the overlay is preventing tabs to be switched. If you switch to full screen mode, it is possible to switch worksheets.
Here is the code that is being used:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="myAppKey"></script>
<script type="text/javascript">
</script>
<style>
body, html, form {
width: 100%;
height: 100%;
margin: 0;
padding: 0
}
.row-container {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
overflow: hidden;
}
.row {
flex-grow: 1;
border: none;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<form id="form1" runat="server" style="text-align:center">
<div class="row-container">
<a id="theFrame" class="dropbox-embed row"></a>
</div>
</form>
</body>
</html>
<script type="text/javascript">
let theFrame = document.getElementById('theFrame');
Dropbox.embed({
link: "https://www.dropbox.com/mysharedlink.xlsx?dl=0"
}, theFrame);
</script>