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

hideUploadButton: true not working with createStyleSet #3603

Closed
n0sleep opened this issue Nov 13, 2020 · 2 comments
Closed

hideUploadButton: true not working with createStyleSet #3603

n0sleep opened this issue Nov 13, 2020 · 2 comments
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.

Comments

@n0sleep
Copy link

n0sleep commented Nov 13, 2020

Version

I'm using the latest CDN version of the Web Chat:
<meta name="botframework-directlinespeech:version" content="4.11.0">
<meta name="botframework-webchat:bundle:variant" content="full-es5">
<meta name="botframework-webchat:bundle:version" content="4.11.0">
<meta name="botframework-webchat:core:version" content="4.11.0">
<meta name="botframework-webchat:ui:version" content="4.11.0">

Describe the bug

I want to hide the upload button. I'm using the method described here to create a new styleset with hideUploadButton: true configured. But the upload-button is still visible.

I made a codepen to reproduce the issue.

Expected behavior

I expect the upload button to be hidden when setting the hideUploadButton: true

@n0sleep n0sleep added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. labels Nov 13, 2020
@stevkan
Copy link
Collaborator

stevkan commented Nov 13, 2020

Possibly related to #3602

@corinagum
Copy link
Contributor

Please use styleOptions instead of createStyleSet for non-breaking support.
The following sample is our recommended way to customize Web Chat: https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/02.branding-styling-and-customization/a.branding-web-chat

@corinagum corinagum self-assigned this Nov 13, 2020
@corinagum corinagum added the customer-replied-to Required for internal reporting. Do not delete. label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.
Projects
None yet
Development

No branches or pull requests

3 participants