mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-04 09:59:16 -05:00
improve click-to-focus for multi line text inputs
This commit is contained in:
@@ -50,6 +50,9 @@ export class MultiLineTextInputComponent extends ComponentBase {
|
||||
element.addEventListener("click", (event) => {
|
||||
event.stopPropagation();
|
||||
event.stopImmediatePropagation();
|
||||
|
||||
// Select the HTML text input
|
||||
this.inputBox.focus();
|
||||
});
|
||||
|
||||
element.addEventListener("pointerdown", (event) => {
|
||||
|
||||
Reference in New Issue
Block a user