Skip to content

TextEdit can be focused when running game #206

Open
@nmerget

Description

@nmerget

Version

4.1-0.0.17

System information

Godot v4.1.5.rc (488757bd0) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA RTX A3000 Laptop GPU (NVIDIA; 31.0.15.2879) - 11th Gen Intel(R) Core(TM) i5-11500H @ 2.90GHz (12 Threads)

Issue description

Attaching any .mjs script to an TextEdit Node will disable the focus when running the game

Steps to reproduce

  1. Create a script my-class.mjs
  2. Add a Control node
  3. Add a TextEdit node inside Control
  4. Attach my-class.mjs to TextEdit
  5. Run game
  6. Cannot write or focus TextEdit

Minimal reproduction project (MRP)

export default class MyClass extends godot.TextEdit {
  _ready() {
    console.log("I run in TextEdit");
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions