[Canvas] Fix: no stuck hover on key based page back/forth (#33631) (#33682)

* Fix: no stuck hover on key based page back/forth

* Fix: no stuck hover on key based page back/forth

# Conflicts:
#	x-pack/plugins/canvas/public/components/workpad_page/event_handlers.js
This commit is contained in:
Robert Monfera 2019-06-21 13:41:17 +02:00 committed by GitHub
parent 2b5174fd8c
commit 2d2b37f545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,9 @@ export class Workpad extends React.PureComponent {
setGrid,
} = this.props;
window.onmousemove = null;
window.onmouseup = null;
// handle keypress events for editor and presentation events
// this exists in both contexts
if (action === 'REFRESH') {