Commit f7241f62 authored by iamkun's avatar iamkun Committed by hetech

Tabs: fix auto scroll bug (#13696)

parent 7a031e63
......@@ -268,6 +268,9 @@
document.addEventListener('visibilitychange', this.visibilityChangeHandler);
window.addEventListener('blur', this.windowBlurHandler);
window.addEventListener('focus', this.windowFocusHandler);
setTimeout(() => {
this.scrollToActiveTab();
}, 0);
},
beforeDestroy() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment