aws-lex-web-ui icon indicating copy to clipboard operation
aws-lex-web-ui copied to clipboard

iframe config setting "shouldLoadIframeMinimized" in lex-web-ui-loader-config.json has no effect

Open rstrahan opened this issue 7 years ago • 2 comments

The value of "shouldLoadIframeMinimized": false in lex-web-ui-loader-config.json has no effect. It is being overridden by the default setting 'true', causing iframe to load minimized despite changing config to specify 'false'.

rstrahan avatar Jun 13 '18 12:06 rstrahan

Workaround is to pass desired "shouldLoadIframeMinimized" value into the load method from the parent page snippet, eg:

...
  var loader = new ChatBotUiLoader.IframeLoader(loaderOpts);
  var loaderCfg = {iframe: {shouldLoadIframeMinimized: false}};
  loader.load(loaderCfg)
...

rstrahan avatar Jun 13 '18 12:06 rstrahan

I have tried this but not getting the desired result

vinayburam avatar Aug 29 '23 07:08 vinayburam