Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Add a highlight option to trap the focus on target element #77

Open
ranndev opened this issue Dec 1, 2019 · 0 comments
Open

Add a highlight option to trap the focus on target element #77

ranndev opened this issue Dec 1, 2019 · 0 comments
Labels
breaking changes This can cause a breaking changes into the current version enhancement New feature or request good first issue Good for newcomers

Comments

@ranndev
Copy link
Owner

ranndev commented Dec 1, 2019

Is your feature request related to a problem? Please describe.
Currently, we have an autofocus highlight option, but that focus can't easily get away when clicking on other elements around the page. I'm suggesting a new option that can set the focus & trap it to the target element until we removed the highlight.

Describe the solution you'd like
Instead of accepting only boolean value in autofocus highlight option. I'd like to make it also possible to accept 'trap' string value to enable the said feature. And I'd like it to be enabled by default.

@ranndev ranndev added the enhancement New feature or request label Dec 1, 2019
@ranndev ranndev added this to the Version 1.0 milestone Dec 1, 2019
@ranndev ranndev added breaking changes This can cause a breaking changes into the current version good first issue Good for newcomers labels Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking changes This can cause a breaking changes into the current version enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant