godotjs / godotjs/javascript

TextEdit can be focused when running game

Aperta
#206 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
C++
Stelle
1.1k
Fork
80
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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");
}
}

````

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.