Skip to content

[CupertinoDatePicker] Accessibility decrease action doesn't go beyond the initial date #98567

@John-Dormevil

Description

@John-Dormevil

Hello,

I encountered a issue, I can't select a previous date with the volume touch (decrease). Because of a condition in the _handleDecrease method ?

I provide a video which demonstrate the case with debugger.

void _handleDecrease() {
if (_currentIndex == 0)
return;
controller.jumpToItem(_currentIndex - 1);
}

In some state the _currentIndex is set with value 0 but some element is in index position below the 0 value.

Enregistrement.de.l.ecran.2022-02-15.a.20.07.17.mov

Thanks for your help :)

Edit: you can find a project which reproduce this bug https://github.com/John-Dormevil/FlutterAccessibilityDecreaseAction

Metadata

Metadata

Assignees

Labels

a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)f: cupertinoflutter/packages/flutter/cupertino repositoryfound in release: 2.10Found to occur in 2.10found in release: 2.11Found to occur in 2.11frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions