aws-lex-web-ui
aws-lex-web-ui copied to clipboard
iframe config setting "shouldLoadIframeMinimized" in lex-web-ui-loader-config.json has no effect
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'.
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)
...
I have tried this but not getting the desired result