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

SendButton should pass disabled attribute to IconButton #1920

Closed
Dpetters opened this issue Apr 23, 2019 · 1 comment · Fixed by #1922
Closed

SendButton should pass disabled attribute to IconButton #1920

Dpetters opened this issue Apr 23, 2019 · 1 comment · Fixed by #1922
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior.

Comments

@Dpetters
Copy link

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.

@corinagum corinagum added the bug Indicates an unexpected problem or an unintended behavior. label Apr 23, 2019
@Dpetters
Copy link
Author

Thanks guys for fixing this so quickly! You rock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants