IE11 displays a white screen when in fullscreen mode

I am currently working on a three.js webGL application and attempting to make it go fullscreen using the following code:

launchFullscreen(document.documentElement); 

function launchFullscreen(element) {


      if(element.requestFullscreen) {
        element.requestFullscreen();
      } else if(element.mozRequestFullScreen) {
        element.mozRequestFullScreen();
      } else if(element.webkitRequestFullscreen) {
        element.webkitRequestFullscreen();
      } else if(element.msRequestFullscreen) {
        element.msRequestFullscreen();
      }

 }

While this functionality works perfectly in Chrome, Firefox, and Safari, I am encountering an issue in IE11 where the application loads to a blank white screen. Does anyone have any suggestions on how to resolve this problem?

To see an example of the issue, visit this link.

Answer №1

Attempt using height: 100%; width: 100%; on the <html> element.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Navigating through stacks in React Native

My stack navigation was working perfectly at first, but now it seems to have stopped functioning :( npm install --save react-navigation npm install --save react-native-gesture-handler react-native link npm install When I run the commands above, I am enco ...

not capable of outputting findings in a sequential manner

I am encountering an issue where my result is not printing line by line, instead everything shows up on a single line. How can I resolve this problem? Here is the code snippet I have tried: <script> function know(){ var num = Number(doc ...

Concurrency issue when timing the encryption of bcrypt and creating a new document in MongoDB

My website has a register function that creates a new document with the user's credentials. Below is my implementation, where the input fields for username and password are stored in an object called data: let users = db.collection('users') ...

Retrieving user email with Vue.js from Firebase

Currently, I am in the process of developing a chat application using Vue.js and Firebase. This project has been quite challenging for me as I am new to both Vue and Firebase. One specific issue I have encountered is trying to retrieve the user's ema ...

Javascript variable decrement failure

One of the challenges I am facing is with a button in HTML that is set by AJAX to create a new tr element. I have successfully built a function (code provided below) to add it, but now I want to include a counter to keep track of how many rows I have. The ...

Trouble with ID.Replace function

Within my gridview, I am trying to extract the ID of a row when it is clicked. The ID returned looks like gvBookingsRow_5. $(".gvBookingsRow_").click(function (e) { ShowBookingComment($(this).attr("ID")); ...

The variable named "$file" has been assigned an invalid value {}; Please upload a valid value

I'm currently utilizing GraphQLClient from graphql-request for sending requests to my server. I'm attempting to upload a file using the following code: const graphQLClient = new GraphQLClient('http://localhost:4000/graphql', { crede ...

The art of effectively conveying arguments to the callback function

Here's a react App component that takes in a settingsobj object along with a callback function: export const settingsObj = { handlers: { onClick: (e, dispatch) => { console.log('Click event triggered from settingsObj', e); dispat ...

Steps for displaying a portion of an unindexed BufferedGeometry:

Working with a non-indexed BufferedGeometry, I am looking to use the same BufferedGeometry for the following purposes once per frame: Rendering the entire buffer Rendering a subset of the buffer (e.g. first 120 vertices) Initially, I attempted to utiliz ...

Engaging geometric figures with interactive features

I'm working with some coordinate points, such as [0, 0],[30, 0],[30, 20],[60, 20],[60, 40],[0, 40],[0, 0] Using these points as input, I want to create shapes with clickable corners. The edges will overlap each other - on the first mouse click, the f ...

Replace the phrase "add to cart" with "plus" and "minus" in Opencart

I am trying to customize the Add to Cart functionality in OpenCart 2.0.1.1 by replacing it with plus and minus buttons. I have successfully added the plus button, however, I am facing difficulty coding for the minus button. The code snippet below shows w ...

JavaScript makes it easy to streamline conditions

Can someone help me simplify this repetitive condition? if (this.get('fileUrl')) { const isUnsplash = this.get('fileContainer.asset_kind') === 'UnsplashAsset'; return Asset.create({ url: this.get('f ...

Accessing BIM Components: Identifying Global and Express IDs through Selection

As I delve into the task of handpicking specific elements from the intricate web of an IFC model, my approach involves utilizing a SimpleRayCaster to cast a ray onto the object with relative success. The challenge lies in identifying the exact entity inter ...

"Troubleshooting Image Loading Issues in Next.js: A Guide to Reloading Unresponsive

https://i.sstatic.net/FLdrA.jpgHello, I am facing an issue with rendering 300 images from IPFS data. Occasionally, around 3-4 of the images fail to load and result in a 404 error. Even after refreshing the page, these unloaded images remain inaccessible. I ...

Utilizing the HTML method of jQuery on a jQuery element

Currently, I am attempting to modify the inner html of an element. When I utilize the following code: $('.best-photos-button')[0].innerHTML="Add More Photos"; the change is successful. However, if I try to use .html() instead of ".innerHTML" in ...

Is it possible to retrieve elements by their ID when the ID values are constantly changing?

I'm facing an issue with accessing dynamic IDs using `getElementById`. I require this value to perform random calculations involving different elements. MY CODE <div class="col-lg-4" v-for="data in datas"> <button class="btn btn-outline-d ...

Transforming jQuery code to pure vanilla Javascript

For my project, I decided to convert my jQuery code into native JavaScript. The goal is to eliminate the dependency on jQuery and achieve the same functionality. The current setup involves two pages - page.html and side.html. The page.html document fetches ...

Guide on including a JavaScript file in HTML during execution on Node.js

I have developed a basic nodeJs server with the following code in my server.js file: var http = require('http'); var fs = require('fs'); var path = require('path'); var server = http.createServer(function(req, resp){ // P ...

Raphael JS meets Java in a cutting-edge web application

I am interested in utilizing the Raphael JavaScript framework to generate charts using live data obtained from my Java web application. Is there a better approach than storing this data in hidden fields within my webpage and then retrieving it in the Rap ...

Substituting a JavaScript function with a UserStyle solution

I am currently working on customizing a UserStyle for Instapaper. Since the original UserStyle was created, Instapaper has implemented several JavaScript functions in their header that control page width and font styles. Below are the functions: ...