[GH-ISSUE #1815] [Bug] No PrimaryScrollController widget ancestor could be found #9122

Closed
opened 2026-03-24 21:09:35 +00:00 by mirror · 2 comments
Owner

Originally created by @keanallen on GitHub (Feb 7, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1815

Originally assigned to: @appflowy on GitHub.

Bug Description

When I re-order or long press any board, it will display an error on the active board saying:

No PrimaryScrollController widget ancestor could be found starting from the
context that was passed to PrimaryScrollController.of().
This can happen because you are using a widget that looks for a
PrimaryScrollController ancestor, but no such ancestor exists.

How to Reproduce

Build an app with appflowy on windows desktop, and long press or drag one board to another.

Expected Behavior

It should drag without displaying error

Operating System

Windows 11 x64

AppFlowy Version(s)

0.0.9

Screenshots

image

Additional Context

Flutter 3.7.0 • channel stable
Originally created by @keanallen on GitHub (Feb 7, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1815 Originally assigned to: @appflowy on GitHub. ### Bug Description When I **re-order** or **long press** any board, it will display an error on the active board saying: ``` No PrimaryScrollController widget ancestor could be found starting from the context that was passed to PrimaryScrollController.of(). This can happen because you are using a widget that looks for a PrimaryScrollController ancestor, but no such ancestor exists. ``` ### How to Reproduce Build an app with appflowy on windows desktop, and long press or drag one board to another. ### Expected Behavior It should drag without displaying error ### Operating System Windows 11 x64 ### AppFlowy Version(s) 0.0.9 ### Screenshots ![image](https://user-images.githubusercontent.com/45480782/217157524-59b440d0-061a-46ac-9392-69477afdf7be.png) ### Additional Context ``` Flutter 3.7.0 • channel stable ```
mirror 2026-03-24 21:09:35 +00:00
Author
Owner

@appflowy commented on GitHub (Feb 7, 2023):

@keanallen Thank you for reporting this. I will fix it

<!-- gh-comment-id:1420630093 --> @appflowy commented on GitHub (Feb 7, 2023): @keanallen Thank you for reporting this. I will fix it
Author
Owner

@richardshiue commented on GitHub (Apr 23, 2024):

This issue no longer exists. Please use the latest commit rev on the appflowy board package

<!-- gh-comment-id:2071259682 --> @richardshiue commented on GitHub (Apr 23, 2024): This issue no longer exists. Please use the latest commit rev on the appflowy board package
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#9122
No description provided.