Open mortifia opened 2 days ago
It would be really useful to programmatically focus an ion-button (without having two focus states on the same element at different levels).
References:
GitHub Issue MDN Web Docs on ShadowRoot.delegatesFocus Now, all browsers support delegatesFocus."
avoid to config ion-button two times (on click and on keyup.enter)
No response
Thanks for the issue! This can be done by calling setFocus on the ion-app: https://ionicframework.com/docs/api/app#programmatic-focus
setFocus
ion-app
Does this solution work for your use case?
Prerequisites
Describe the Feature Request
It would be really useful to programmatically focus an ion-button (without having two focus states on the same element at different levels).
References:
GitHub Issue MDN Web Docs on ShadowRoot.delegatesFocus Now, all browsers support delegatesFocus."
Describe the Use Case
avoid to config ion-button two times (on click and on keyup.enter)
Describe Preferred Solution
No response
Describe Alternatives
No response
Related Code
No response
Additional Information
No response