Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Commit

Permalink
[fixed] incorrect style merging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Aug 12, 2015
1 parent 89c1398 commit 34b185b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let Autocomplete = React.createClass({
onChange () {},
onSelect (value, item) {},
renderMenu (items, value, style) {
return <div style={{style, ...this.menuStyle}} children={items}/>
return <div style={{...style, ...this.menuStyle}} children={items}/>
},
shouldItemRender () { return true },
menuStyle: {
Expand Down

0 comments on commit 34b185b

Please sign in to comment.