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

FF133. urlbar seems detached #459

Open
x140x1n opened this issue Nov 27, 2024 · 5 comments
Open

FF133. urlbar seems detached #459

x140x1n opened this issue Nov 27, 2024 · 5 comments

Comments

@x140x1n
Copy link

x140x1n commented Nov 27, 2024

using autohide_toolbox together with navbar_tabs_responsive_oneliner and upon opening firefox the url bar floats before hiding.
also the animation of the url bar on hover is not in sync with the rest of the toolbox.

2024-11-28_003250_recording.mp4
@MrOtherGuy
Copy link
Owner

Yeah, unfortunately now the urlbar has to be transformed separately, so yes it can appear "detached" from the rest of the toolbox. It shouldn't be super noticeable normally, but in some cases the movement can appear a bit out-of-sync from the actual toolbar. For startup I could probably just set it's opacity to 0 to make it invisible, but it can't actually start in "hidden" state for technical reasons.

@x140x1n
Copy link
Author

x140x1n commented Nov 28, 2024

I have fixed it for now inserting the following into autohide-toolbox.css.

below the first #navigator-toolbox {..} I added

#urlbar {
  opacity: 0;
}

and changed

#mainPopupSet:has(> [role="group"][panelopen]) ~ toolbox #urlbar[popover],
#navigator-toolbox:is(:hover,:focus-within) #urlbar[popover],
#urlbar-container> #urlbar[popover]:is([focused],[open]){
  pointer-events: auto;
  opacity: 1;
  transition-delay: 33ms;
  transform: rotateX(0deg);
}

to include #urlbar after #urlbar-container

#mainPopupSet:has(> [role="group"][panelopen]) ~ toolbox #urlbar[popover],
#navigator-toolbox:is(:hover,:focus-within) #urlbar[popover],
#urlbar-container, #urlbar > #urlbar[popover]:is([focused],[open]){
  pointer-events: auto;
  opacity: 1;
  transition-delay: 33ms;
  transform: rotateX(0deg);
}

If there is a better way, which there probably is as I'm not a css expert, please let me know.

Thanks.

@x140x1n
Copy link
Author

x140x1n commented Nov 28, 2024

@MrOtherGuy
another issue I've noticed is when ALT is pressed to show the menu bar the url bar doesn't jump down with the rest of the toolbox covering the menu, how can I fix that?

menu

@konsulas
Copy link

In autohide_bookmarks_and_main_toolbars.css urlbar also shows up in strange way.

@nerdsalot
Copy link

nerdsalot commented Nov 28, 2024

@x140x1n, it worked. Thanks!

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

No branches or pull requests

4 participants