@@ -71,7 +71,7 @@ module.exports = React.createClass({
7171 newHighlightedIndex = this . props . options . length - 1 ;
7272 }
7373 else if ( newHighlightedIndex >= this . props . options . length ) {
74- newHighlightedIndex = 0 ;
74+ newHighlightedIndex = 0 ;
7575 }
7676 if ( this . props . onUpdateHighlighted ) {
7777 this . props . onUpdateHighlighted ( newHighlightedIndex ) ;
@@ -125,17 +125,17 @@ module.exports = React.createClass({
125125 getItems ( ) {
126126 return this . props . options . map ( ( option , index ) => {
127127 return (
128- < ListItem
128+ < ListItem
129129 key = { index }
130- index = { index }
130+ index = { index }
131131 label = { option . label }
132- value = { option . value }
132+ value = { option . value }
133133 isHighlighted = { ( index === this . props . highlightedIndex ) }
134- isSelected = { ( index === this . props . selectedIndex ) }
135- onUpdateHighlighted = { this . handleUpdateHighlighted }
134+ isSelected = { ( index === this . props . selectedIndex ) }
135+ onUpdateHighlighted = { this . handleUpdateHighlighted }
136136 onMoveFocus = { this . handleMoveFocus }
137137 onBlur = { this . handleListItemBlur }
138- onFocus = { this . handleItemFocus }
138+ onFocus = { this . handleItemFocus }
139139 onSelect = { this . handleSelect }
140140 onSearch = { this . handleSearch }
141141 onCancel = { this . handleCancel } />
@@ -145,17 +145,17 @@ module.exports = React.createClass({
145145
146146 render ( ) {
147147 return (
148- < div
148+ < div
149149 ref = "scroll"
150150 className = { 'slds-wrap slds-grow slds-scrollable--y ' + this . props . className }
151151 style = { {
152152 maxHeight :260
153153 } }
154154 >
155- < ul
155+ < ul
156156 ref = "scroll"
157157 className = { "slds-dropdown__list slds-theme--" + this . props . theme }
158- role = "menu"
158+ role = "menu"
159159 aria-labelledby = { this . props . label } >
160160 { this . getItems ( ) }
161161 </ ul >
0 commit comments