Downshift: getButtonProps is not a function

Created on 21 Mar 2018  路  3Comments  路  Source: downshift-js/downshift

As of version v1.31.1 we get getButtonProps is not a function.
There supposedly is an alias since the change tonight to getToggleButtonProps, but something is not working as expected, looking through the code right now, will update if I find the problem.

bug

Most helpful comment

I'm terribly sorry about that. Thank you for the quick PR!

All 3 comments

The aliasing wasn鈥檛 not done properly (ref to Line 552) as the getButtonProps don鈥檛 get passed down along with getToggleButtonProps to the render function.

This change was introduced as a patch and need to be rectified as soon as possible.

Would you like to make a pull request @gsimone?

Working on the PR @donysukardi

I'm terribly sorry about that. Thank you for the quick PR!

Was this page helpful?
0 / 5 - 0 ratings