Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove arrow and functionality #1700

Closed
jozr opened this issue May 2, 2017 · 2 comments
Closed

Remove arrow and functionality #1700

jozr opened this issue May 2, 2017 · 2 comments

Comments

@jozr
Copy link

jozr commented May 2, 2017

Passing a function that returns undefined to the arrowRenderer prop will remove the arrow, but not the functionality of the arrow. How can I completely remove the arrow and functionality?

@jozr jozr changed the title Ability to remove arrow functionality Remove arrow and functionality May 2, 2017
@agirton
Copy link
Collaborator

agirton commented May 6, 2017

Looks like that is not supported ATM. Could always open a PR so the arrowRenderer also encompasses the event handlers. That way if you pass in undefined those handlers wouldn't be added. 😄 Until then disabling pointer events on the Select-arrow-zone class will prevent mouse/touch events.

@KristiyanTs
Copy link

KristiyanTs commented Jul 24, 2019

If anyone is still wondering how to remove the arrow, the last example on this docs page shows a workaround:

const components = {
  DropdownIndicator: null,
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants