We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5b46c commit 14732b4Copy full SHA for 14732b4
core/pfe-core/controllers/overflow-controller.ts
@@ -62,7 +62,7 @@ export class OverflowController implements ReactiveController {
62
return;
63
}
64
const leftScroll = this.#container.scrollLeft - this.#container.clientWidth;
65
- this.#container.scroll({ left: leftScroll });
+ this.#container.scroll({ left: leftScroll, behavior: 'smooth' });
66
this.#setOverflowState();
67
68
@@ -71,7 +71,7 @@ export class OverflowController implements ReactiveController {
71
72
73
const leftScroll = this.#container.scrollLeft + this.#container.clientWidth;
74
75
76
77
0 commit comments