Skip to content

Commit c5fdd46

Browse files
committed
Fix mouse time tooltip when moved to far right of progress bar
1 parent a8a5e02 commit c5fdd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/js/control-bar/progress-control/progress-control.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ProgressControl extends Component {
7272
}
7373

7474
const seekBarEl = seekBar.el();
75-
const seekBarRect = Dom.findPosition(seekBarEl);
75+
const seekBarRect = Dom.getBoundingClientRect(seekBarEl);
7676
let seekBarPoint = Dom.getPointerPosition(seekBarEl, event).x;
7777

7878
// The default skin has a gap on either side of the `SeekBar`. This means

0 commit comments

Comments
 (0)