Skip to content

Commit

Permalink
fix: makes Semantics responsive to [enabled] flag (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharabiddin authored Jan 15, 2025
1 parent 80f6089 commit d4da24c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/pinput_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ class _PinputState extends State<Pinput>
builder: (_, Widget? child) => Semantics(
maxValueLength: widget.length,
currentValueLength: _currentLength,
enabled: isEnabled,
onTap: widget.readOnly ? null : _semanticsOnTap,
onDidGainAccessibilityFocus: handleDidGainAccessibilityFocus,
child: child,
Expand Down

0 comments on commit d4da24c

Please sign in to comment.