Live location share - focus on user location on list item click (PSG-609) (#9051)
* extract preventDefaultWrapper into utils * add click handling to beacon list item * add click handling to dialog sidebar * focus in on beacons when clicked in list * stylelint * fussy import ordering * test beacon focusing in beaocnviewdialog
This commit is contained in:
parent
38a913488f
commit
dc6ceb1d1c
16 changed files with 473 additions and 89 deletions
|
@ -80,6 +80,13 @@ const useMapWithStyle = ({ id, centerGeoUri, onError, interactive, bounds }) =>
|
|||
interface MapProps {
|
||||
id: string;
|
||||
interactive?: boolean;
|
||||
/**
|
||||
* set map center to geoUri coords
|
||||
* Center will only be set to valid geoUri
|
||||
* this prop is only simply diffed by useEffect, so to trigger *recentering* of the same geoUri
|
||||
* append the uri with a var not used by the geoUri spec
|
||||
* eg a timestamp: `geo:54,42;mxTs=123`
|
||||
*/
|
||||
centerGeoUri?: string;
|
||||
bounds?: Bounds;
|
||||
className?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue