Skip to content

Exception : Children of TabBar must have the tab role in 3.32.0 #169175

@scolnet

Description

@scolnet

Steps to reproduce

After upgrading 3.32 and using TabBarView

Expected results

No exception

Actual results

Exception caught by scheduler library when tabbarview is displayed.

Error appear only on IOS simulator.
It's ok on Android and Web

The same code run perfectly in version 3.29.3

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
`The following assertion was thrown during a scheduler callback:
Children of TabBar must have the tab role

When the exception was thrown, this was the stack: 
SemanticsNode._addToUpdate.<anonymous closure> (package:flutter/src/semantics/semantics.dart:3467:9)
SemanticsNode._addToUpdate (package:flutter/src/semantics/semantics.dart:3470:6)`

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: regressionIt was better in the past than it is nowf: material designflutter/packages/flutter/material repository.found in release: 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions