Skip to content

feat(Option): support addition className - #853

Closed
iam4x wants to merge 1 commit into
JedWatson:masterfrom
iam4x:option-additional-class
Closed

feat(Option): support addition className#853
iam4x wants to merge 1 commit into
JedWatson:masterfrom
iam4x:option-additional-class

Conversation

@iam4x

Copy link
Copy Markdown
Contributor

Hello @JedWatson

I'm using https://github.com/ftlabs/fastclick to remove the 300ms click delay on iOS devices, but I'm getting incompatibilities with react-select which is listening on touchEnd event.

Fastclick can ignore certain elements but they need a needsclick class (https://github.com/ftlabs/fastclick#ignore-certain-elements-with-needsclick)

This PR adds the support to pass custom classnames to the Option element, I could have used the optionComponent prop but I find it overkill for this use case 👍

@iam4x
iam4xforce-pushed the option-additional-class branch from b144973 to 6df918cCompareMarch 30, 2016 12:59
@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 6df918c on iam4x:option-additional-class into * on JedWatson:master*.

@coveralls

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 6df918c on iam4x:option-additional-class into * on JedWatson:master*.

JedWatson added a commit that referenced this pull request Apr 2, 2016
@JedWatson

Copy link
Copy Markdown
Owner

Hi @iam4x, thanks for the PR!

I've just manually merged it due to conflicts, sorry about not merging directly - it looks like I missed a step in the process, but the changes are now in master.

@iam4x

iam4x commented Apr 4, 2016

Copy link
Copy Markdown
ContributorAuthor

Thank's @JedWatson 👍

Sign up for freeto 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.

3 participants

@iam4x@coveralls@JedWatson