You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{mapPropsStream,createEventHandler}from'recompose'...const{stream: onCloseStream,handler: onClose}=createEventHandler()
...
onCloseStream.delay(0)// so it would run after `onRequestNew`.debounceTime(10)// so it would run once in that period of time.withLatestFrom(propsStream.pluck('onBlur')).map(fp.nth(1)).do((onBlur)=>onBlur())...<AutoComplete{...props}menuCloseDelay={0}// should be zero (or you can change `debounceTime` to `menuCloseDelay + 10`)/>
The text was updated successfully, but these errors were encountered:
onFocus
onUpdateInput
onClose
from https://github.com/callemall/material-ui/blob/master/src/AutoComplete/AutoComplete.js#L349onClose
from https://github.com/callemall/material-ui/blob/master/src/AutoComplete/AutoComplete.js#L278onNewRequest
from https://github.com/callemall/material-ui/blob/master/src/AutoComplete/AutoComplete.js#L279PS. Here the workaround (Hail to the rxjs!)
The text was updated successfully, but these errors were encountered: