Merge branch 'dev' into 'dev'

onMouseOver on room-info

See merge request nitro/nitro-react!55
This commit is contained in:
Bill 2022-04-13 15:35:29 +00:00
commit f787d8f436

View File

@ -63,7 +63,7 @@ export const NavigatorSearchResultItemInfoView: FC<NavigatorSearchResultItemInfo
return ( return (
<> <>
<Base pointer className="icon icon-navigator-info" onClick={ toggle }/> <Base pointer className="icon icon-navigator-info" onMouseOver={ toggle } onMouseLeave={ toggle }>
<Overlay show={ isVisible } target={ target } placement="right"> <Overlay show={ isVisible } target={ target } placement="right">
<Popover> <Popover>
<NitroCardContentView overflow="hidden" className="room-info bg-transparent"> <NitroCardContentView overflow="hidden" className="room-info bg-transparent">
@ -99,6 +99,7 @@ export const NavigatorSearchResultItemInfoView: FC<NavigatorSearchResultItemInfo
</NitroCardContentView> </NitroCardContentView>
</Popover> </Popover>
</Overlay> </Overlay>
</Base>
</> </>
); );
} }