Comments (10)
it is fixed on the flutter master branch.
flutter channel master
from fluent_ui.
Seems like it is fixed on the flutter master branch
from fluent_ui.
Seems to be fixed with:
child: Scrollbar(
controller: pane.scrollController ?? ScrollController(),
...
)
At these lines:
https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/navigation/navigation_view/pane.dart#L340
https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/navigation/navigation_view/pane.dart#L464
https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/navigation/navigation_view/pane.dart#L583
But after that, I've the following error (only at the changement compact -> open
and open -> compact
, otherwise when I resize the window I don't have any errors.
======== Exception caught by scheduler library =====================================================
The following assertion was thrown during a scheduler callback:
The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the provided ScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to. When providing your own ScrollController, ensure both the Scrollbar and the Scrollable widget use the same one.
When the exception was thrown, this was the stack:
#0 RawScrollbarState._debugCheckHasValidScrollPosition.<anonymous closure> (package:flutter/src/widgets/scrollbar.dart:1285:9)
#1 RawScrollbarState._debugCheckHasValidScrollPosition (package:flutter/src/widgets/scrollbar.dart:1310:6)
#2 RawScrollbarState._maybeTriggerScrollbar.<anonymous closure> (package:flutter/src/widgets/scrollbar.dart:1242:16)
#3 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1143:15)
#4 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1088:9)
#5 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:996:5)
#9 _invoke (dart:ui/hooks.dart:166:10)
#10 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:270:5)
#11 _drawFrame (dart:ui/hooks.dart:129:31)
(elided 3 frames from dart:async)
====================================================================================================
from fluent_ui.
@bdlukaa what about this ?
I got that with TabView... :(
me too, so what's the solution for TabView?
flutter version: 2.10.5
fluent_ui version: 3.11.0
from fluent_ui.
This issue is happening since I ever implemented scrollbars. It happens when we resize the window I think.
Tho, this is a Flutter issue. It happens on RawScrollbar
from fluent_ui.
I met the same problem
from fluent_ui.
same here.
from fluent_ui.
flutter/flutter#92657 seems to have fixed it. Tho it might take a while to land on stable
from fluent_ui.
from fluent_ui.
@bdlukaa what about this ?
I got that with TabView... :(
from fluent_ui.
Related Issues (20)
- How to add a horizontal scrollbar to TreeView, if the space is limited.
- π Handle enter click in a NumberBox and add onEditingComplete event HOT 1
- NumberFormBox doesn't rebuild properly when setState is called
- example no longer compiles on flutter 3.22.0-39.0.pre.2π HOT 1
- π Weird effect when a ComboBox is inside a SizedBox HOT 3
- πIn the document, there is a bug in the source code of the AutoSuggestBox component.
- What is the purpose of the generated_plugin_registrant.dart file in the example/lib path and how it was generated HOT 3
- Ability to add common interactive implementations for multi-window applications HOT 1
- [Feature Request] Support disabled `MenuFlyoutItem` HOT 1
- Use `WidgetStateProperty` instead of `ButtonState`
- A lot of animations feel laggy and incomplete HOT 1
- π Scrollbar, disappear when the mouse is not over HOT 1
- Support `onChange` method for `DropDownButton`
- π Numberbox format notwork when precision bigger then 4
- π Disabled `PaneItem` Still Accessible in Compact Mode of `NavigationPane`
- π TextBox is unfocussable
- π `showDialog` `barrierDismissible` documentation has contradictory "default value"
- Change ComboBox color HOT 1
- Create `PaneItemWidget` HOT 1
- Code Assist AI for devs building with Fluent UI in Flutter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent_ui.