Changes to solve https://github.com/Esri/calcite-react/issues/380#401
Changes to solve https://github.com/Esri/calcite-react/issues/380#401pshirodkar20 wants to merge 1 commit intoEsri:developfrom
Conversation
|
Hey @pshirodkar20 this solution seems to break the clear text button. Can you think of a way to clear out the downshift input when that button is pressed? |
|
@codylawson Okay, let me take a look. Is there something you could suggest that I should use instead of inputValue attribute in the DownShift component? I haven't worked with DownShift before so maybe I am missing on something you know. Thanks. |
|
@pshirodkar20 I've looked into it quite a bit and hadn't found any simple fixes which is why I wasn't able to resolve the bug already. Most of what I'd found made it seem we need to rewrite the Downshift components using the latest version patterns. There were originally problems with the cursor position in Downshift at an early version, but the fix was checked in well before our current version in calcite react so there's something else going on. If you can figure out a clean way to reset the Sorry I can't be of more help right now 😞 |
|
@codylawson Oh okay, let me see if I can fix the clear input field. Thanks. |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: