From 854422819791dfbda205f5ab437887129f699db1 Mon Sep 17 00:00:00 2001 From: Miguel Andrade Date: Thu, 20 Jul 2017 15:42:50 -0700 Subject: [PATCH] fix tabs next navigation --- addon/components/paper-tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/paper-tabs.js b/addon/components/paper-tabs.js index dab30a47a..1edeb0ae4 100644 --- a/addon/components/paper-tabs.js +++ b/addon/components/paper-tabs.js @@ -130,7 +130,7 @@ export default Component.extend(ParentMixin, ColorMixin, { nextPage() { let tab = this.get('childComponents').find((t) => { - return t.get('left') + t.get('width') > this.get('canvasWidth'); + return t.get('left') + t.get('width') - this.get('currentOffset') > this.get('canvasWidth'); }); if (tab) { this.set('currentOffset', tab.get('left'));