@@ -212,34 +212,38 @@ storiesOf('Lookup', module)
212212 />
213213 ) )
214214 . addWithInfo ( 'Active' , 'Lookup component with candidates in dropdown' , ( ) => (
215- < Lookup
216- label = 'Lookup Label'
217- searchText = 'A'
218- opened
219- data = { COMPANY_DATA }
220- selected = { null }
221- onSearchTextChange = { action ( 'searchTextChange' ) }
222- onLookupRequest = { action ( 'lookupRequest' ) }
223- onSelect = { action ( 'select' ) }
224- onBlur = { action ( 'blur' ) }
225- onComplete = { action ( 'complete' ) }
226- />
215+ < div style = { { height : 350 } } >
216+ < Lookup
217+ label = 'Lookup Label'
218+ searchText = 'A'
219+ opened
220+ data = { COMPANY_DATA }
221+ selected = { null }
222+ onSearchTextChange = { action ( 'searchTextChange' ) }
223+ onLookupRequest = { action ( 'lookupRequest' ) }
224+ onSelect = { action ( 'select' ) }
225+ onBlur = { action ( 'blur' ) }
226+ onComplete = { action ( 'complete' ) }
227+ />
228+ </ div >
227229 ) )
228230 . addWithInfo ( 'With list header/footer' , 'Lookup component with header/footer component in the candidate list' , ( ) => (
229- < Lookup
230- label = 'Lookup Label'
231- searchText = 'A'
232- opened
233- data = { COMPANY_DATA }
234- selected = { null }
235- listHeader = { < Button icon = 'search' iconAlign = 'left' > "A" in Account</ Button > }
236- listFooter = { < Button icon = 'add' iconAlign = 'left' > Add new Account</ Button > }
237- onSearchTextChange = { action ( 'searchTextChange' ) }
238- onLookupRequest = { action ( 'lookupRequest' ) }
239- onSelect = { action ( 'select' ) }
240- onBlur = { action ( 'blur' ) }
241- onComplete = { action ( 'complete' ) }
242- />
231+ < div style = { { height : 420 } } >
232+ < Lookup
233+ label = 'Lookup Label'
234+ searchText = 'A'
235+ opened
236+ data = { COMPANY_DATA }
237+ selected = { null }
238+ listHeader = { < Button icon = 'search' iconAlign = 'left' > "A" in Account</ Button > }
239+ listFooter = { < Button icon = 'add' iconAlign = 'left' > Add new Account</ Button > }
240+ onSearchTextChange = { action ( 'searchTextChange' ) }
241+ onLookupRequest = { action ( 'lookupRequest' ) }
242+ onSelect = { action ( 'select' ) }
243+ onBlur = { action ( 'blur' ) }
244+ onComplete = { action ( 'complete' ) }
245+ />
246+ </ div >
243247 ) )
244248 . addWithInfo ( 'Multi Scope' , 'Lookup component which allows multiples scopes to select as lookup datasource' , ( ) => (
245249 < Lookup
0 commit comments