Closed harryhaomsft closed 4 years ago
A quick hack for this while waiting for change is to use this CSS:
[id^="adal"] {
display: none;
}
This is a known bug in adal js
, and is fixed in msal js
. You can also use the workaround stated by @bjaskj for adal js
. All current authentication work from Microsoft is delivered through the msal js
library here. adal js
is still supported only for security fixes. We recommend moving to msal js
for any advanced feature requests and bugfixes.
When ADAL.js creates the hidden iframe to acquire token, the iframe is still occupying a 4x4 space. And it causes page layout to change(scroll bars appear). It looks like the style of the iframe is set to visibility: hidden which only hides the element but does not remove the presence in the DOM. Using display:none should be able to fix this.
Repros on all browsers.
Library Name
Library version
Library version: 1.0.17