Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidesendbox not Working in Combinatinon with LCW-Callback #543

Open
medienstuermer opened this issue Nov 10, 2024 · 0 comments
Open

Hidesendbox not Working in Combinatinon with LCW-Callback #543

medienstuermer opened this issue Nov 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@medienstuermer
Copy link

medienstuermer commented Nov 10, 2024

Hiding the send box as described here does not work if it is implemented via an LCW callback.

https://github.com/microsoft/omnichannel-chat-widget/blob/main/docs/customizations/webchatcontainer.md#enabledisable-inline-playing

Can you help here?

<script>
function lcw() {
        return {	
            headerProps: {
                controlProps: {
					
                    minimizeButtonProps: {
                        iconName: "MiniContract"
                    },
                    closeButtonProps: {
                        iconName: "Leave"
                    },
                }
            },


            styleProps: {
				
                generalStyles: {
                    width: "400px",
                    height: "800px",
                    bottom: "78px",
                    right: "50px"
                }
            },
            loadingPaneProps: {
                controlProps: {
                    titleText: "Hallo lieber Kunde!",
                    subtitleText: "Warten Sie einen Moment...",
                    hideSpinnerText: true,
                    spinnerSize: 3,
					
                }
            },
            webChatContainerProps: {
               webChatStyles: {
	           hideSendBox: true,
                    suggestedActionBackgroundColor: "#99cc33",
                    suggestedActionBackgroundColorOnHover: "#639400",
                    suggestedActionBorderColor: "#99cc33",
                    suggestedActionTextColor: "#ffffff",
                    suggestedActionLayout: "flow"
                }
            }
        }
    }
</script>
@medienstuermer medienstuermer added the bug Something isn't working label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant