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

implemented optional rendering of arrow #1761

Merged
merged 5 commits into from
Oct 19, 2017

Conversation

rolandjohann
Copy link

This PR implements the ability to not render the arrow button by setting prop arrowRenderer to null. 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.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.883% when pulling 4c9e8d3 on rmmjohann:optional_arrow_rendering into 1d15068 on JedWatson:master.

@rolandjohann
Copy link
Author

Implements requested feature of #1700

…ith conditional rendering of loading indicator and clear button
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 92.9% when pulling 85a8279 on rmmjohann:optional_arrow_rendering into 1d15068 on JedWatson:master.

yih-en added a commit to GovWizely/zAPIness-search-widget that referenced this pull request Jun 20, 2017
- The style will be removed once JedWatson/react-select#1761 is merged to master
@Uelb
Copy link

Uelb commented Jul 31, 2017

Is this PR going to be considered, 👍 on the request 😄 .

@rolandjohann
Copy link
Author

rolandjohann commented Jul 31, 2017

@Uelb I'm afraid I don't understand.
Do I have to post a thumbs up emoji to mark the PR as ready to merge?

Despite that, I'm slightly confused in how PRs will be accepted as there are a bunch of open ones.

@tr0ythex
Copy link

Hi, guys, is that PR gonna be merged?

@JedWatson JedWatson closed this in 16f75fd Oct 19, 2017
@JedWatson
Copy link
Owner

Sorry for the delay here - we've had another PR to do similar functionality (arrowRenderer can return null) but I've made the change to enable this as well.

@JedWatson JedWatson reopened this Oct 19, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.835% when pulling a2ca914 on rolandjohann:optional_arrow_rendering into 16f75fd on JedWatson:master.

@JedWatson JedWatson merged commit a252668 into JedWatson:master Oct 19, 2017
@JedWatson
Copy link
Owner

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!

ls-endurance added a commit to ls-endurance/DefinitelyTyped that referenced this pull request Jul 16, 2018
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!
sheetalkamat pushed a commit to DefinitelyTyped/DefinitelyTyped that referenced this pull request Jul 30, 2018
… 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
briandk pushed a commit to briandk/DefinitelyTyped that referenced this pull request Aug 7, 2018
… 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
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

Successfully merging this pull request may close these issues.

6 participants