Botframework-webchat: SendButton should pass disabled attribute to IconButton

Created on 23 Apr 2019  路  1Comment  路  Source: microsoft/BotFramework-WebChat

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.

Bug

Most helpful comment

Thanks guys for fixing this so quickly! You rock.

>All comments

Thanks guys for fixing this so quickly! You rock.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

compulim picture compulim  路  3Comments

naveen-vijay picture naveen-vijay  路  4Comments

filipjakov picture filipjakov  路  4Comments

marcasmar94 picture marcasmar94  路  3Comments

joshm998 picture joshm998  路  3Comments