-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
sticky-sidebar
still makes the sidebar appear on top of the search results in the homepage of a repo in Firefox
#6408
Comments
sticky-sidebar
makes the sidebar appear on top of the search results in the homepage of a reposticky-sidebar
still makes the sidebar appear on top of the search results in the homepage of a repo in Firefox
Not sure whether this should be considered the same issue, or just a related one that should be opened separately, but: Something very similar is happening to the hamburger menu on the mobile version of the site - at least when I'm not logged in (or rather, when I have a |
Similar bug, but Refined GitHub only officially supports logged in users. |
Ah, okay - hadn't realized that. I usually am logged in, and I haven't noticed that version of the header appearing while logged in, but I wasn't sure if that was actually what controlled |
See #6508 For the time being, you can either disable the sticky sidebar feature or add this condition-less CSS to your options: /*
https://github.com/refined-github/refined-github/issues/6408
https://github.com/refined-github/refined-github/issues/6151
*/
.search-input.expanded .search-with-dialog {
z-index: 95 !important; /* Native: 35 */
}
.search-input.expanded .dark-backdrop {
z-index: 92; !important /* Native: 32 */
} |
This issue is only present in Firefox-like browsers, where the previous fix, 1d14916, uses a
:has
css selector that the Gecko rendering engine does not yet support.Because this issue describes the same visual problem as the now-closed issues #6151, #6225, and #6260, should further discussion be moved to one of those threads?
Description
When the
sticky-sidebar
feature is enabled, the sticky sidebar in all repository roots (e.g. https://github.com/refined-github/refined-github) visually appears on top of search suggestions and the search modal backdrop.Is the
:has
really required in the selector? It appears that thehas
part of the selector causes the rules to increasez-index
to apply to search inputs and dialogs where a sticky sidebar (.rgh-sticky-sidebar
) exists, even though the search elements should have a highz-index
on all pages.Here are some unnecessary screenshots of the issue:
How to replicate the issue
sticky-sidebar
feature in the extension settingsExtension version
23.4.15
Browser(s) used
64-bit:
Firefox Developer Edition 111.0b8, Firefox Nightly 112.0a1, and Waterfox G5.1.3 on macOS 13.2, Firefox 108.0.1 on Ubuntu 22.04.1, and Firefox 110.0.1 on macOS 10.14.6
The text was updated successfully, but these errors were encountered: