From f649c22bf0b3baf104f290202ab889936605a0a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 15 Feb 2022 14:59:13 +0300 Subject: [PATCH] Fixed #2169 - Scrollable TabView forwardIsDisabled defect --- src/components/tabview/TabView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tabview/TabView.vue b/src/components/tabview/TabView.vue index c19da6e7e..357a2b15a 100755 --- a/src/components/tabview/TabView.vue +++ b/src/components/tabview/TabView.vue @@ -109,7 +109,7 @@ export default { const width = DomHandler.getWidth(content); this.backwardIsDisabled = scrollLeft === 0; - this.forwardIsDisabled = scrollLeft === scrollWidth - width; + this.forwardIsDisabled = parseInt(scrollLeft) === scrollWidth - width; }, getKey(tab, i) { return (tab.props && tab.props.header) ? tab.props.header : i;