Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

fix(downshift): allow passing props to Downshift #2372

Closed
wants to merge 1 commit into from
Closed

fix(downshift): allow passing props to Downshift #2372

wants to merge 1 commit into from

Conversation

art0rz
Copy link

@art0rz art0rz commented May 14, 2019

This change will allow users to pass additional props to Downshift. This is useful for when for example the app is running in a shadowRoot and the user needs to pass an environment to Downshift (which is an issue I'm currently running into)

See downshift-js/downshift#536

Changelog

New

Changed

The following files have the same changes applied to them:

  • Combobox.js
  • Dropdown.js
  • FilterableMultiselect.js
  • Multiselect

Added optional prop downshiftProps which is merged with component's own Downshift props (component's props take precedence) and passed to Downshift.

Removed

@joshblack
Copy link
Contributor

@dakahn
Copy link
Contributor

dakahn commented May 14, 2019

I'll close this down, but would you down to re-open in our /carbon repo? @art0rz

@dakahn dakahn closed this May 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants