Skip to content

Disable user location caching in LocationPicker #22013

Closed
matrix-org/matrix-react-sdk
#8466
@kerryarchibald

Description

@kerryarchibald

Steps to reproduce

  1. Reset perms for element
  2. Open the location sharing dialog, select 'own location'
  3. Allow geolocation in the browser permissions popup
  4. Close the location share dialog
  5. Block geolocation permissions
  6. Open the location sharing dialog again, select 'own location'

Outcome

What did you expect?

'No permissions' error

What happened instead?

The map centered on my current location

Maplibre caches your last known position for performance reasons when trackUserLocation config is true.

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

No response

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Labels

A-Location-SharingO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-Labs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions