Add comments
This commit is contained in:
parent
3c5a18c702
commit
d3656854cf
|
@ -121,6 +121,10 @@
|
||||||
|
|
||||||
const onContextMenu = e => {
|
const onContextMenu = e => {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|
||||||
|
// The timeout allows time for clickoutside to close other open popvers
|
||||||
|
// before we show this one. Without the timeout, this popover closes again
|
||||||
|
// before it's even visible as clickoutside closes it.
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
ui.actions.blur()
|
ui.actions.blur()
|
||||||
open = !open
|
open = !open
|
||||||
|
|
Loading…
Reference in New Issue