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

259
0
10-24-2019 09:01 AM
MaximeDemers
Occasional Contributor III

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() {};
    })
});
0 Kudos
0 Replies