Skip to content

Commit

Permalink
fix: scroll behavior of app (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro authored Oct 28, 2024
1 parent 5c5e84a commit 08aaa3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.14.1

- **FIX**: `ShadApp` scroll behavior.

## 0.14.0

- **BREAKING CHANGE**: Remove `onChangedNullable` from `ShadSelect` and `ShadSelectFormField`. Now the `onChanged` callback will be called with `null` when the user deselects an option if `allowDeselection` is set to `true`. (thanks to @moshOntong-IT)
Expand Down
4 changes: 4 additions & 0 deletions lib/src/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,7 @@ class _ShadAppState extends State<ShadApp> {
actions: widget.actions,
restorationScopeId: widget.restorationScopeId,
localizationsDelegates: localizationsDelegates,
scrollBehavior: widget.scrollBehavior,
);
}
return MaterialApp(
Expand Down Expand Up @@ -859,6 +860,7 @@ class _ShadAppState extends State<ShadApp> {
actions: widget.actions,
restorationScopeId: widget.restorationScopeId,
localizationsDelegates: localizationsDelegates,
scrollBehavior: widget.scrollBehavior,
);

case ShadAppType.cupertino:
Expand Down Expand Up @@ -887,6 +889,7 @@ class _ShadAppState extends State<ShadApp> {
actions: widget.actions,
restorationScopeId: widget.restorationScopeId,
localizationsDelegates: localizationsDelegates,
scrollBehavior: widget.scrollBehavior,
),
);
}
Expand Down Expand Up @@ -917,6 +920,7 @@ class _ShadAppState extends State<ShadApp> {
actions: widget.actions,
restorationScopeId: widget.restorationScopeId,
localizationsDelegates: localizationsDelegates,
scrollBehavior: widget.scrollBehavior,
),
);
case ShadAppType.custom:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shadcn_ui
description: shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
version: 0.14.0
version: 0.14.1
homepage: https://flutter-shadcn-ui.mariuti.com
repository: https://github.com/nank1ro/flutter-shadcn-ui
documentation: https://flutter-shadcn-ui.mariuti.com
Expand Down

0 comments on commit 08aaa3c

Please sign in to comment.