emulate-tab icon indicating copy to clipboard operation
emulate-tab copied to clipboard

Bug: emulateTabFrom(source).toPreviousElement() can't find previous element

Open aaronnuu opened this issue 2 years ago • 0 comments

Hello, this library seems to be exactly what I need for my use case, I just have found one issue when running emulateTabFrom(source).toPreviousElement() where instead of tabbing from the source it will tab from the document.body instead.

Thanks very much for looking into this, if I am mistaken and this is not the intended behaviour then it would be great if you could help me figure out how to tab previous from a specific element using this library.

I have a PR here: #22 to fix this issue.

aaronnuu avatar Dec 06 '21 07:12 aaronnuu