View text focus after combo selection

Hi,
how can I focus “area” after combo selection ?

Code

Good day @ngchagas,

As the click is not yet fully processed by the time the onChange handler gets triggered in this case (essentially, the onChange handler is triggered before the onclick one, meaning the focus just returns back to the original input when the click is finished).

You can introduce a small delay to the logic within the onChange handler if you want to retain the same logic order, e.g.:

onChange: (newVal, oldVal, configVal) => {
//other code that works fine
setTimeout(() => this.$$("textcomponent").focus(), 1);
}

Please, check out the snippet with the example: Code Snippet