Skip to content

SFDataGrid horizontal scroll throws exception #1743

@berslen

Description

@berslen

Aftera adding 3 frozen columns, and set column fit mode to fitbycolumnName (or auto). horizonral scroll throws the following exception.

════════ Exception caught by animation library ═════════════════════════════════
The following assertion was thrown while notifying status listeners for AnimationController:
'package:flutter/src/widgets/overlay.dart': Failed assertion: line 1544 pos 14: '_zOrderIndex != null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.yml

When the exception was thrown, this was the stack:
#2 OverlayPortalController.hide (package:flutter/src/widgets/overlay.dart:1544:14)
overlay.dart:1544
#3 TooltipState._handleStatusChanged (package:flutter/src/material/tooltip.dart:482:28)
tooltip.dart:482
#4 AnimationLocalStatusListenersMixin.notifyStatusListeners (package:flutter/src/animation/listener_helpers.dart:240:19)
listener_helpers.dart:240
#5 AnimationController._checkStatusChanged (package:flutter/src/animation/animation_controller.dart:850:7)
animation_controller.dart:850
#6 AnimationController._tick (package:flutter/src/animation/animation_controller.dart:866:5)
animation_controller.dart:866
#7 Ticker._tick (package:flutter/src/scheduler/ticker.dart:258:12)
ticker.dart:258
#8 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1386:15)
binding.dart:1386
#9 SchedulerBinding.handleBeginFrame. (package:flutter/src/scheduler/binding.dart:1233:11)
binding.dart:1233
#10 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
compact_hash.dart:633
#11 SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1231:17)
binding.dart:1231
#12 SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:1148:5)
binding.dart:1148
#16 _invoke1 (dart:ui/hooks.dart:330:10)
hooks.dart:330
#17 PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:361:5)
platform_dispatcher.dart:361
#18 _beginFrame (dart:ui/hooks.dart:272:31)
hooks.dart:272
(elided 5 frames from class _AssertionError and dart:async)

The AnimationController notifying status listeners was: AnimationController#35d3c(⏮ 0.000; paused)

Metadata

Metadata

Assignees

No one assigned

    Labels

    data gridData grid component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions