-
Notifications
You must be signed in to change notification settings - Fork 40
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
Urlbar can't get input focus #213
Comments
I was able to fix the focus problem by changing the opacity instead of visibility on /* hotfix */
#urlbar{
- visibility: collapse;
+ opacity: 0;
}
...
/* hotfix */
#urlbar{
- visibility: visible !important;
- transition: visibility 0s linear var(--trans-dur);
+ opacity: 100 !important;
+ transition: all 0s linear var(--trans-dur);
min-width: var(--urlbar-width) !important;
} That's good enough for me, hope it helps someone else in the meantime 😄 |
This may provide better animation effects for the toggle of the URLbar based on your fix. @@ -238,6 +238,7 @@ Navigation bar on top of the window
/* hotfix */
#urlbar{
opacity 0;
+ transition: var(--trans-dur);
}
#urlbar-container::before {
@@ -264,7 +265,6 @@ Navigation bar on top of the window
/* hotfix */
#urlbar{
opacity: 100 !important;
- transition: all 0s linear var(--trans-dur);
min-width: var(--urlbar-width) !important;
} |
@Akira-uestc Awesome, thank you, it is indeed better and it looks like it even fixes #211 |
Heyyyyy that works (and I felt like an expert coding guy lol)!! Thank you very much! |
created an account just to thank @Sookhaal and @Akira-uestc, tysm |
Here's the file with the applied fixes from @Sookhaal and @Akira-uestc! |
I used fixes from @Akira-uestc and it shows like this |
Could you try setting the urlbar position to absolute relative to the navbar?
Add the code snippet above to your shy-navbar.css. This prevents my urlbar from sticking to the upper-left corner when refreshing the tab and I haven’t encountered the issue you described when inputting. EDIT: @@ -238,6 +238,7 @@ Navigation bar on top of the window
/* hotfix */
#urlbar{
opacity 0;
+ position: fixed !important;
/* transition: var(--trans-dur); */
transition: var(--transition);
} |
@Akira-uestc THANK YOU!!!! that definitely fixed the problem for me. |
@Akira-uestc i love you, please marry me |
@Akira-uestc btw now that i notice that you have akira's pfp. i loved yosuga no sora. such a good anime. the ost is sooo good |
Since commit af36edb, the
Ctrl+L
shortcut no longer brings the URL bar into input mode unless pressed twice.Opening a new tab does not automatically focus on the URL bar, and clicking the Web Search on the homepage also fails to allow input.
The text was updated successfully, but these errors were encountered: