Skip to content
Snippets Groups Projects
Commit 2b76a48b authored by Farbod Zamani's avatar Farbod Zamani Committed by Ron Lucke
Browse files

blur focused element within studip dialog

Closes #3174

Merge request studip/studip!3313
parent 5500d656
No related branches found
No related tags found
No related merge requests found
......@@ -259,7 +259,14 @@ export default {
this.currentHeight = data.height;
this.left = data.left;
this.top = data.top;
this.handleResizeBlur();
},
handleResizeBlur() {
let el = this.$refs.resizableComponent.$el.querySelector(':focus');
if (el) {
el.blur();
}
}
},
filters: {
checkEmpty(value) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment