Botframework-webchat: Update prop enterkeyhint for TextInput component

Created on 25 Feb 2021  路  4Comments  路  Source: microsoft/BotFramework-WebChat

It seems the TextInput component is producing a warning when using the prop enterkeyhint for react >17. This is a known issue and it would be nice to get rid off the warning. It's just about updating the case of the prop to become enterKeyHint

https://github.com/necolas/react-native-web/issues/1778

Bot Services Bug ExemptFromDailyDRIReport P1 backlog customer-replied-to customer-reported front-burner

All 4 comments

@compulim could you please take a look at this? Thanks.

We need to find a solution for this.

In React 16.8.6 (which we use as base version), it use enterkeyhint and doesn't accept enterKeyHint.

In higher version of React 16, it use enterKeyHint and not accepting enterkeyhint.

I have added this to our list of bugs for fix consideration during R13.

This is already fixed in #3703 with the introduction of useEnterKeyHint hook.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

electrobabe picture electrobabe  路  4Comments

marcasmar94 picture marcasmar94  路  3Comments

corinagum picture corinagum  路  3Comments

mmalaiarasan-conga picture mmalaiarasan-conga  路  3Comments

AndreMantas picture AndreMantas  路  4Comments