Live location share - beacon tooltip in maximised view (#8572) PSF-926
* pass optional tooltip prop down through markers Signed-off-by: Kerry Archibald <kerrya@element.io> * add beaconstatustooltip, handle overflow on beacon status label Signed-off-by: Kerry Archibald <kerrya@element.io> * remove debug, fix mouseout Signed-off-by: Kerry Archibald <kerrya@element.io> * tidy comments Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
fdd5494402
commit
fbbb9c27ba
14 changed files with 271 additions and 118 deletions
|
@ -37,6 +37,7 @@ import { _t } from '../../../languageHandler';
|
|||
import AccessibleButton from '../elements/AccessibleButton';
|
||||
import DialogSidebar from './DialogSidebar';
|
||||
import DialogOwnBeaconStatus from './DialogOwnBeaconStatus';
|
||||
import BeaconStatusTooltip from './BeaconStatusTooltip';
|
||||
|
||||
interface IProps extends IDialogProps {
|
||||
roomId: Room['roomId'];
|
||||
|
@ -103,6 +104,7 @@ const BeaconViewDialog: React.FC<IProps> = ({
|
|||
key={beacon.identifier}
|
||||
map={map}
|
||||
beacon={beacon}
|
||||
tooltip={<BeaconStatusTooltip beacon={beacon} />}
|
||||
/>) }
|
||||
<ZoomButtons map={map} />
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue