Skip to content

EmojiPicker is NOT expanded. Using a fixed height is not good. #233

@DyNamite-TNT-1

Description

@DyNamite-TNT-1

Wrap EmojiPicker by Expand widget.

  • Expected: EmojiView is expanded.

  • Current result: EmojiView is NOT expanded.

EmojiView is NOT expanded as its height is fixed by height of Config(). I found the SizedBox is problem.

Widget _buildEmojiView() {
    return _wrapScrollBehaviorForPlatforms(
      SizedBox(
        height: widget.config.height,
        child: widget.customWidget == null
            ? DefaultEmojiPickerView(
                widget.config,
                _state,
                _showSearchView,
              )
            : widget.customWidget!(
                widget.config,
                _state,
                _showSearchView,
              ),
      ),
    );
  }

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