aeharding ยท GitHub

Prerequisites

Describe the Feature Request

Allow developer to set custom focus during overlay dismissal.

Describe the Use Case

In the handler of an ion-action-sheet the developer may want to restore focus to a custom element, like a text box.

Describe Preferred Solution

Ionic overlay should detect whether focus has been set by developer, and not restore focus if that is so.

Describe Alternatives

None.

Reproduction

https://github.com/aeharding/test-focus

Additional Information

Not sure if this is considered a feature or a bug ๐Ÿ˜…

Read the original on github.com โ†—