Skip to content

SendButton should pass disabled attribute to IconButton #1920

@Dpetters

Description

@Dpetters

I am attempting to use the "sendBoxButtonColorOnFocus" styleset property, but it doesn't appear to get used because even if I set disabled=true on the ReactWebChat component, the SendButton is still enabled (whereas the TextBox becomes disabled). Thus the following styling does not apply:

    '&:disabled svg': {
      fill: sendBoxButtonColorOnDisabled
    }

I believe in SendButton.js, the disabled attribute should be set on the IconButton element in the way that it is done in MicrophoneButton and UploadButton.

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions