Skip to content

Conversation

@jonchester
Copy link
Contributor

I ended up needing to add this attribute to work around a common IE bug, that clicking on a scrollbar gives focus to the scroll container. I needed to set it as MUST_USE_ATTRIBUTE or the attribute would not be passed through by React successfully.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint is complaining because you have trailing spaces here. Otherwise this is good to go.

@jonchester
Copy link
Contributor Author

Thanks - not sure how that happened with the trailing spaces but I fixed it.

Should I have edited my original commit, or is a second commit OK? (Sorry, new to github)

@zpao
Copy link
Member

zpao commented Mar 27, 2015

Ideally squashed but I don't care much. If you update and push -f before I merge, I'll take that.

I ended up needing to add this attribute to work around a common IE bug, that clicking on a scrollbar gives focus to the scroll container. I needed to set it as MUST_USE_ATTRIBUTE or the attribute would not be passed through by React successfully.

remove trailing spaces
@jonchester
Copy link
Contributor Author

OK I squashed the commits. Thanks

zpao added a commit that referenced this pull request Mar 30, 2015
Add IE-specific 'unselectable' attribute
@zpao zpao merged commit 18d6088 into facebook:master Mar 30, 2015
@zpao zpao added this to the 0.13.2 milestone Mar 30, 2015
zpao added a commit to zpao/react that referenced this pull request Apr 13, 2015
Add IE-specific 'unselectable' attribute
zpao added a commit to zpao/react that referenced this pull request Apr 17, 2015
Add IE-specific 'unselectable' attribute
zpao added a commit to zpao/react that referenced this pull request Apr 18, 2015
Add IE-specific 'unselectable' attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants