File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ class Lookup extends React.Component {
263
263
this . setState ( {
264
264
isOpen : false ,
265
265
focusIndex : null ,
266
- currentFocus : null ,
266
+ currentFocus : null
267
267
} ) ;
268
268
}
269
269
@@ -278,7 +278,7 @@ class Lookup extends React.Component {
278
278
this . setState ( {
279
279
isOpen : false ,
280
280
focusIndex : null ,
281
- currentFocus : null ,
281
+ currentFocus : null
282
282
} ) ;
283
283
}
284
284
@@ -487,6 +487,7 @@ class Lookup extends React.Component {
487
487
getClassName ( ) {
488
488
return cx ( this . props . className , 'slds-lookup' , {
489
489
'slds-has-selection' : this . isSelected ( ) ,
490
+ 'slds-is-open' : this . state . isOpen
490
491
} ) ;
491
492
}
492
493
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ const DemoLookup = React.createClass({
22
22
return (
23
23
< Lookup
24
24
{ ...this . props }
25
+ modal = { false }
25
26
onChange = { action ( 'change' ) }
26
27
onSelect = { this . handleSelect }
27
28
options = { this . state . options }
You can’t perform that action at this time.
0 commit comments