Skip to content

Commit

Permalink
Slider: Fix style problem when clicking slider bar
Browse files Browse the repository at this point in the history
  • Loading branch information
cl199793 committed May 15, 2019
1 parent 16a6059 commit 0d1cf09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/slider/src/button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
value = parseFloat(value.toFixed(this.precision));
this.$emit('input', value);
this.$nextTick(() => {
this.displayTooltip();
this.$refs.tooltip && this.$refs.tooltip.updatePopper();
});
if (!this.dragging && this.value !== this.oldValue) {
Expand Down

0 comments on commit 0d1cf09

Please sign in to comment.