Skip to content

[dropdown] Dropdown in Modal captures focus from textarea field upon Enter #2723

@mkrecek234

Description

@mkrecek234

Bug Report

When having a dropdown and a textarea/trumbowyg field in a modal, typing enter in the textarea will move focus to the dropdown field in recent FUI develop version.

Steps to reproduce

  1. Create modal and have a form with dropdown and textarea fields
  2. Go to textarea and enter line-breaks ("enter")

The issue did not exist in previous FUI versions, and is unrelated to the used trumbowyg textarea component.

Expected result

Line-breaks are added in textarea

Actual result

dropdown captures focus

Screenshot (if possible)

Bildschirmaufnahme.2023-03-02.um.12.49.19.mov

Version

2.9.3-beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugAny issue which is a bug or PR which fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions