Skip to content

Commit

Permalink
feat: add scroll-behavior utilities
Browse files Browse the repository at this point in the history
Fixes #330
  • Loading branch information
muhammadsammy committed Dec 17, 2021
1 parent e3503e9 commit c51e665
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/cli/lib/non-configurable/interactivity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ const scrollSnap = [
'snap-proximity',
];

const scrollBehavior = ['scroll-auto', 'scroll-smooth'];

export default {
appearance,
pointerEvents,
resize,
userSelect,
scrollSnap,
scrollBehavior,
};
3 changes: 2 additions & 1 deletion src/cli/types/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ type TInteractivityCategoryItem =
| 'accentColor'
| 'scrollSnap'
| 'scrollMargin'
| 'scrollPadding';
| 'scrollPadding'
| 'scrollBehavior';

type TLayoutCategoryItem =
| 'display'
Expand Down

0 comments on commit c51e665

Please sign in to comment.