Tab List: Syncronize animations
This commit is contained in:
parent
16c732879d
commit
5bea1f59d7
@ -2,7 +2,7 @@ import { fastRaf } from './schedulers';
|
|||||||
import { animate } from './animation';
|
import { animate } from './animation';
|
||||||
import { IS_IOS } from './environment';
|
import { IS_IOS } from './environment';
|
||||||
|
|
||||||
const DURATION = 450;
|
const DURATION = 300;
|
||||||
|
|
||||||
export default function fastSmoothScrollHorizontal(container: HTMLElement, left: number) {
|
export default function fastSmoothScrollHorizontal(container: HTMLElement, left: number) {
|
||||||
// Native way seems to be smoother in Chrome
|
// Native way seems to be smoother in Chrome
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user