diff --git a/components/tabs/Tabs.js b/components/tabs/Tabs.js index 603c6799..d6a89c32 100644 --- a/components/tabs/Tabs.js +++ b/components/tabs/Tabs.js @@ -83,7 +83,7 @@ const factory = (Tab, TabContent, FontIcon) => { updatePointer = (idx) => { if (this.navigationNode && this.navigationNode.children[idx]) { - this.updatePointerAnimationFrame = requestAnimationFrame(() => { + this.updatePointerAnimationFrame = window.requestAnimationFrame(() => { const nav = this.navigationNode.getBoundingClientRect(); const label = this.navigationNode.children[idx].getBoundingClientRect(); const scrollLeft = this.navigationNode.scrollLeft;