Skip to content

Conversation

@bek-bsw
Copy link

@bek-bsw bek-bsw commented Nov 10, 2025

No description provided.

@bek-bsw bek-bsw requested a review from Copilot November 11, 2025 08:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a feature to hide and show scrollbars in the layout sidebar based on user interaction. The scrollbar is hidden by default and appears on hover for devices with fine pointer input.

Key Changes:

  • Added CSS styling to hide scrollbars by default and show them on hover
  • Included a fade-out mask effect for the non-hover state
  • Updated Visual Studio version metadata

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
BlueBlazor/Components/Layout/Layout.razor.css Added media query-based scrollbar visibility styling with hover interactions
BlueBlazor.sln Updated Visual Studio version from 18 to 17

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@lgk-bsw lgk-bsw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS shouldn't be in Blue Blazor, but in Blue Web. Correct place would be: https://github.com/bruegmann/blue-web/blob/main/dist/styles/_layout.scss

When scrolled to the end of the sidebar, the fade shouldn't be there anymore:

Image

Maybe you could solve this using CSS scoll-state(). Check browser compatibility. If the current browser isn't supported, the whole effect shouldn't be there.

A smooth transition on hover for the fade would be nice. But only if user doesn't prefer reduced motion. You can check this with CSS Media Query: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/prefers-reduced-motion

@lgk-bsw
Copy link
Member

lgk-bsw commented Dec 2, 2025

Wurde jetzt durch bruegmann/blue-web#7 umgesetzt.

@lgk-bsw lgk-bsw closed this Dec 2, 2025
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

Successfully merging this pull request may close these issues.

3 participants