Gene typeahead stale state (#714)

* reimplementing suggest

* resolve stale state
This commit is contained in:
Colin Megill
2019-04-17 14:03:10 -04:00
committed by GitHub
parent ad0a3c939c
commit b878b0f93c
3 changed files with 35 additions and 7 deletions
+32 -4
View File
@@ -1075,13 +1075,41 @@
}
},
"@blueprintjs/select": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/@blueprintjs/select/-/select-3.2.1.tgz",
"integrity": "sha512-fAxmfRI5jorG4TsHe8WlwycL9tti2J1yt+U6r83IjuuT4ddZ6HS1Dt7RaLPpGEMQDCAcTvDBlrBpSDewjGG1+w==",
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@blueprintjs/select/-/select-3.8.0.tgz",
"integrity": "sha512-sWWGZx/nARtxKfoFODlEQxA7HDpddGDC4uKPNMd1ZQgKazEtMkw0rFVm550K6Aoj0wp82TqqmcxHrb0VL6Epiw==",
"requires": {
"@blueprintjs/core": "^3.6.0",
"@blueprintjs/core": "^3.15.0",
"classnames": "^2.2",
"tslib": "^1.9.0"
},
"dependencies": {
"@blueprintjs/core": {
"version": "3.15.1",
"resolved": "https://registry.npmjs.org/@blueprintjs/core/-/core-3.15.1.tgz",
"integrity": "sha512-M8ltbqqlMZuZ6SEuqo/3Fr59ZcUfd8Er7ocbm7EACVfRW7dRhOCd/TKkf2kfICNtCDwznwXk0iAePLXZhUGtQg==",
"requires": {
"@blueprintjs/icons": "^3.8.0",
"@types/dom4": "^2.0.1",
"classnames": "^2.2",
"dom4": "^2.0.1",
"normalize.css": "^8.0.0",
"popper.js": "^1.14.1",
"react-popper": "^1.0.0",
"react-transition-group": "^2.2.1",
"resize-observer-polyfill": "^1.5.0",
"tslib": "^1.9.0"
}
},
"@blueprintjs/icons": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/@blueprintjs/icons/-/icons-3.8.0.tgz",
"integrity": "sha512-yHaRQ3vfV9Gf3foZ4ONtxddz+u5ufkHqHj8Ia5VhPbFgG4el+cPdmsGGIIM72rgKS1KQa5Ay+ggjpByUlXvrKg==",
"requires": {
"classnames": "^2.2",
"tslib": "^1.9.0"
}
}
}
},
"@types/dom4": {
+1 -1
View File
@@ -33,7 +33,7 @@
"dependencies": {
"@blueprintjs/core": "^3.8.0",
"@blueprintjs/icons": "^3.3.0",
"@blueprintjs/select": "^3.2.1",
"@blueprintjs/select": "^3.8.0",
"canvas-fit": "^1.5.0",
"d3": "^4.10.0",
"d3-scale-chromatic": "^1.3.0",
@@ -225,9 +225,9 @@ class GeneExpression extends React.Component {
}}
>
<Suggest
closeOnSelect
openOnKeyDown
resetOnSelect
closeOnSelect
resetOnClose
itemDisabled={
userDefinedGenesLoading ? () => true : () => false
}