-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
implemented optional rendering of arrow #1761
implemented optional rendering of arrow #1761
Conversation
Implements requested feature of #1700 |
…ith conditional rendering of loading indicator and clear button
- The style will be removed once JedWatson/react-select#1761 is merged to master
Is this PR going to be considered, 👍 on the request 😄 . |
@Uelb I'm afraid I don't understand. Despite that, I'm slightly confused in how PRs will be accepted as there are a bunch of open ones. |
Hi, guys, is that PR gonna be merged? |
Sorry for the delay here - we've had another PR to do similar functionality ( |
Realised this PR includes updates to the less, docs and tests that weren't already present so I've resolved conflicts and merged it. Thanks @rolandjohann! |
In this issue, arrow rendering would keep the functionality even if no arrow was being rendered. The PR below fixed the issue. JedWatson/react-select#1761 In this PR, the guys added the ability to set the arrowRenderer option to null, which disables all arrow related operation. The types repo needs to reflect this change. Thanks!
… null (#27342) * Add ability for arrow renderer prop to be set to null In this issue, arrow rendering would keep the functionality even if no arrow was being rendered. The PR below fixed the issue. JedWatson/react-select#1761 In this PR, the guys added the ability to set the arrowRenderer option to null, which disables all arrow related operation. The types repo needs to reflect this change. Thanks! * Add my name to list
… null (DefinitelyTyped#27342) * Add ability for arrow renderer prop to be set to null In this issue, arrow rendering would keep the functionality even if no arrow was being rendered. The PR below fixed the issue. JedWatson/react-select#1761 In this PR, the guys added the ability to set the arrowRenderer option to null, which disables all arrow related operation. The types repo needs to reflect this change. Thanks! * Add my name to list
This PR implements the ability to not render the arrow button by setting prop
arrowRenderer
tonull
. As the arrow element is responsible for the right padding a new less class has been introduced that will add right padding to the last element of the select control.