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

Scroll boxes broken #102

Open
Gpax971 opened this issue Jul 2, 2024 · 0 comments
Open

Scroll boxes broken #102

Gpax971 opened this issue Jul 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Gpax971
Copy link

Gpax971 commented Jul 2, 2024

Describe the bug

With this theme enabled, scrollboxes with the tag popout_f6639d do not work properly. The scroll bar does not render, and the boxes are not scrollable.
The relevant code sections in https://discordstyles.github.io/FrostedGlass/dist/FrostedGlass.css are:

...
#app-mount .popout_f6639d::before {
  content: "";
  background: linear-gradient(var(--tint), var(--tint)), var(--fb-overlay-image);
  background-position: var(--fb-overlay-position, center);
  background-size: var(--fb-overlay-size, cover);
  background-attachment: var(--fb-overlay-attachment, fixed);
  background-repeat: var(--fb-overlay-repeat, no-repeat);
  box-shadow: inset 0 0 0 100vmax rgb(0, 0, 0, var(--overlay-brightness, var(--popout-modal-brightness)));
  height: calc(100% + var(--fb-overlay-blur) * 5);
  width: calc(100% + var(--fb-overlay-blur) * 5);
  top: calc(var(--fb-overlay-blur) / -1 * 2.5);
  left: calc(var(--fb-overlay-blur) / -1 * 2.5);
  position: absolute;
  filter: blur(var(--fb-overlay-blur));
  transform: translate(var(--fb-overlay-blur)/-1, calc(var(--fb-overlay-blur) / -1));
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  z-index: -1;
}
...
#app-mount .popout_f6639d {
  overflow: hidden !important;
  position: relative;
  border-radius: 3px;
}

With only the bottom code block removed, the scrolling functionality works again, however the themed section of the scrollbox only shows on the first few options

To Reproduce

  • Open Settings > Keybinds
  • Add a keybind
  • Select an action
  • Try to scroll down in list

Screenshots

With above code included:
image

With above code removed:
image

With only second code block removed (note the transition under Toggle VAD):
image

If applicable, add screenshots to help explain your problem

Infomation (please complete the following information)

Discord channel: Stable
OS: Windows
Mod: BetterDiscord/Vencord
Discord language: English

@Gpax971 Gpax971 added the bug Something isn't working label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant