Skip to content

Commit

Permalink
fix global key collision
Browse files Browse the repository at this point in the history
  • Loading branch information
casimir committed Jul 25, 2023
1 parent 1be3db2 commit 3450aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/article.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class _ArticlePageState extends State<ArticlePage> {
child: Scrollbar(
controller: scroller,
child: SingleChildScrollView(
key: ObjectKey(provider.articleId),
key: GlobalObjectKey('articlepage-${provider.articleId}'),
controller: scroller,
child: Column(
children: [
Expand Down

0 comments on commit 3450aef

Please sign in to comment.