Skip to content

Commit

Permalink
fix: unresponsive text field on changing cursor on firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoradi88 committed Oct 31, 2024
1 parent 31ffbe4 commit bc0e2b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/common/field/typeahead_field.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';

import 'package:pointer_interceptor/pointer_interceptor.dart';
Expand Down Expand Up @@ -228,6 +229,7 @@ class _RawTypeAheadFieldState<T> extends State<RawTypeAheadField<T>> {
listBuilder: widget.listBuilder,
),
child: PointerInterceptor(
intercepting: !kIsWeb,
child: widget.builder(
context,
controller,
Expand Down

0 comments on commit bc0e2b5

Please sign in to comment.