downshift
version: 1.14.0
node
version:npm
(or yarn
) version:Reproduction repository:
https://codesandbox.io/s/23yzon246r
Problem description:
I would like to use a non-DOM component as root component returned by the children function. I pass to it a prop rootProps
containing the result of getRootProps()
and it spreads the object to the inner root div
. In such a way, the root props that Downshift needs are correctly applied. However the validateGetRootPropsCalledCorrectly
throws an error.
Suggested solution:
I would suggest to either remove the check or to add a prop excludeSafetyChecks
that allows to bypass such a check.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4