Skip to content

Commit

Permalink
fix: restore sliding panel state after a search (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar authored Aug 17, 2023
1 parent 029e866 commit c61f3ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/x-components/src/components/sliding-panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
*
* @internal
*/
@Debounce(100, { leading: true })
@Debounce(50, { leading: true })
restoreAndUpdateScroll(): void {
this.$refs.scrollContainer.scroll({ left: 0, behavior: 'smooth' });
this.updateScrollPosition();
Expand All @@ -186,7 +186,7 @@
*
* @internal
*/
@Debounce(100, { leading: true })
@Debounce(50, { leading: true })
debouncedUpdateScrollPosition(): void {
this.updateScrollPosition();
}
Expand Down

0 comments on commit c61f3ed

Please sign in to comment.