By removing the Tooltip component tab index value in Tooltip created & afterOpen the event you can directly focus the Numeric TextBox component as per your requirement.
Please refer to the shared sample and code snippet for more information.
[ app.component.html ]
<ejs-tooltip #tooltip (created)="created($event)" (afterOpen)="afterOpen($event)" > <ejs-numerictextbox format="p2" value="0.5" min="0" max="1" step="0.01" ></ejs-numerictextbox> </ejs-tooltip> |
[ app.component.ts ]
created(args) { document.getElementsByClassName('e-tooltip')[0].removeAttribute('tabindex'); document .getElementsByClassName('e-tooltip')[0] .querySelectorAll('[tabindex]')[0] .removeAttribute('tabindex'); } afterOpen(args) { document.getElementsByClassName('e-tooltip')[0].removeAttribute('tabindex'); } |
Sample :
https://stackblitz.com/edit/angular-auepkw-bd3ase?file=src%2Fapp.component.html
[ Output ]