AnsweredAssumed Answered

ArcGIS Javascript API - Bug IdentityManager dialog resize on mobile when keyboard opens

Question asked by DemersM on Oct 24, 2019

Hi,

 

On some mobile, the keyboards trigger a resize of the window which trigger a resize of the IdentityManager dialog. However, when the keyboard is closed, the dialog is not resized and the form submit button is not accessible anymore.

 

This problem prevents some user to access the application.

 

 

I have found a workaround by overriding the IdentityManager.dialog resize method, but I consider the problem as a bug.

 

define([
  "esri/IdentityManager"
], function(IdentityManager) {

    IdentityManager.on("dialog-create", function() {
      //prevent dialog to resize
      IdentityManager.dialog.resize = function() {};
    })
});

Outcomes