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

Having blurry background on Desktop and not only on mobile #892

Open
ratte1303 opened this issue Jul 3, 2024 · 1 comment
Open

Having blurry background on Desktop and not only on mobile #892

ratte1303 opened this issue Jul 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ratte1303
Copy link

The Problem

The blur effect does a great job focussing the popup menus on mobile. The dekstop version could also profit from this, especially on bigger screens.

The Solution

Remove the @media query on line 88 in resources/skins.citizen.styles/components/Menu.less

Live demo: arbeit.wiki

@ratte1303 ratte1303 added the enhancement New feature or request label Jul 3, 2024
@alistair3149
Copy link
Member

It can be an undesired behavior on desktop.

Unlike modals, the backdrop used on the dropdown menus are not for focus, since the dropdown button is already next to the opened menu. On mobile, users are more likely to misclick an unintended element, that's why a backdrop is added to prevent doing that. On desktop, it is less likely to happen. Not having a backdrop allows the user to interact with the background element without an extra click.

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

No branches or pull requests

2 participants