Skip to content

Commit

Permalink
Add quick fix to equalize position calcs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-fix committed Mar 21, 2018
1 parent 9dd68a5 commit 3b7ce1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vaadin-date-picker-overlay-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@

var duration = animate ? 300 : 0;
var start = 0;
var initialPosition = this.$.monthScroller.position;
var initialPosition = Math.round(this.$.monthScroller.position);

var smoothScroll = timestamp => {
start = start || timestamp;
Expand Down

0 comments on commit 3b7ce1a

Please sign in to comment.