Skip to content

Keyboard Pop-up Animation Lags When Starting Audio Recording #518

@1D3E

Description

@1D3E

Package version
6.0.0

Environment

  • OS: iOS

Describe the bug

Keyboard pop-up animation lags when starting audio recording

Add your record configuration RecordConfig(...)
Use example code

To Reproduce

Steps to reproduce the behavior:

  1. Use example code then add a TextField and a FocusNode
Container(
    width: 300,
    height: 100,
    child: TextField(
      focusNode: focusNode,
    ),
  ),
  1. Add listener
// Listen to focusNode and call _start when focused, _stop when unfocused
focusNode.addListener(() {
  if (focusNode.hasFocus) {
    _start();
  } else {
    _stop();
  }
});
  1. Tap on TextField
  2. See the lag while opening the keyboard.

Expected behavior

Keyboard opening normally without any lag.

Additional context

No more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions