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

Disable location button when permission is denied #351

Open
ezwelty opened this issue Feb 3, 2023 · 1 comment · May be fixed by #382
Open

Disable location button when permission is denied #351

ezwelty opened this issue Feb 3, 2023 · 1 comment · May be fixed by #382
Labels
enhancement New feature request

Comments

@ezwelty
Copy link
Collaborator

ezwelty commented Feb 3, 2023

The location tracking button is displayed normally even when location permission has been denied:

image

Once clicked, the location button switches to an X icon:

image

Ideally, it would show as a greyed-out version of the original instead.

@ezwelty ezwelty mentioned this issue Feb 3, 2023
40 tasks
@ezwelty ezwelty changed the title Disable click when permission is denied (icon is X) Disable location button when permission is denied Feb 3, 2023
@ezwelty ezwelty added P2 enhancement New feature request and removed P2 labels Feb 3, 2023
@wbazant
Copy link
Contributor

wbazant commented May 26, 2024

This is current styling:

.hutGOq:enabled {
  cursor: pointer;
}

This CSS looks nice for a disabled location:

.bGLhd:enabled {
  cursor: not-allowed;
  opacity: 0.5;
}

Google Maps has a dedicated icon and a "default" cursor, so maybe do cursor: default instead.
Screenshot from 2024-05-26 12-33-36

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

Successfully merging a pull request may close this issue.

2 participants