Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus switches between Address Box and Search Box rapidly #47

Open
ChrisNZL opened this issue May 22, 2019 · 4 comments
Open

Focus switches between Address Box and Search Box rapidly #47

ChrisNZL opened this issue May 22, 2019 · 4 comments
Labels

Comments

@ChrisNZL
Copy link
Owner

Occasionally when opening a new Fauxbar tab, input box focus jumps between the Address Box and Search Box back and forth really quickly. End up having to close the tab.

Haven't been able to reproduce this reliably.

@ChrisNZL ChrisNZL added the bug label May 22, 2019
@superkev73
Copy link

I am experiencing something similar. It just started within the last week or two and it is not consistent. After clicking the "New Tab" button in the tab bar, focus should go to the Search Box, but often ends up in the Address Box. I have to manually click on the Search Box to type in it.

This happens maybe 2 out of 5 times I click on New Tab.

ChrisNZL added a commit that referenced this issue Aug 1, 2019
Added a FocusElement function to wrap around .focus() calls
@ChrisNZL
Copy link
Owner Author

ChrisNZL commented Aug 1, 2019

I've added a FocusElement function to wrap around many .focus() calls to try and debug this.

I've pushed the changes to GitHub, but not as a package. Next time I see it, I'll check the console for details. I suspect it's a focus or blur issue with a setTimeout delay triggering things over and over somewhere.

@superkev73
Copy link

Not sure if it was fixed in Fauxbar or Chrome, but it seems to be fine now. When creating a new tab, focus goes to the Fauxbar search box as expected.

@fhoshino
Copy link

Not sure if it was fixed in Fauxbar or Chrome, but it seems to be fine now. When creating a new tab, focus goes to the Fauxbar search box as expected.

Still experiencing this occasionally, especially when pressing tab to switch focus from url bar to search box promptly after new tab is opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants