Fix focus bug on room-selector

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-01-05 14:57:11 +05:30
parent c27b11bf25
commit 6388894aa4

View file

@ -21,7 +21,7 @@ function RoomSelectorWrapper({
className="room-selector__content" className="room-selector__content"
type="button" type="button"
onClick={onClick} onClick={onClick}
onMouseUp={(e) => blurOnBubbling(e, '.room-selector')} onMouseUp={(e) => blurOnBubbling(e, '.room-selector__content')}
> >
{content} {content}
</button> </button>