Commit a5e56e37 authored by Max Alekseenko's avatar Max Alekseenko

fix disabled rating behavior

parent 99f23065
......@@ -34,6 +34,7 @@ const TriggerButton = (
label={ getTooltipText(canRate) }
openDelay={ 100 }
textAlign="center"
closeOnClick={ Boolean(canRate) }
>
<Button
ref={ ref }
......@@ -48,6 +49,7 @@ const TriggerButton = (
ml={ fullView ? 3 : 0 }
isActive={ isActive }
onFocusCapture={ onFocusCapture }
cursor={ canRate ? 'pointer' : 'default' }
>
{ !fullView && (
<IconSvg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment