Skip to content

Commit

Permalink
Fixed #2169 - Scrollable TabView forwardIsDisabled defect
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Feb 15, 2022
1 parent b6cc6e1 commit f649c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tabview/TabView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f649c22

Please sign in to comment.