Improve Tooltip UX by enabling delay by default (#21383)
This commit is contained in:
parent
0dee41c074
commit
229b4d621e
15 changed files with 4 additions and 21 deletions
|
|
@ -154,7 +154,6 @@ export const StatusItem: FC<{
|
|||
<Tooltip
|
||||
popupContent={t('datasetDocuments.list.action.enableWarning')}
|
||||
popupClassName='text-text-secondary system-xs-medium'
|
||||
needsDelay
|
||||
disabled={!archived}
|
||||
>
|
||||
<Switch
|
||||
|
|
@ -285,7 +284,6 @@ export const OperationAction: FC<{
|
|||
? <Tooltip
|
||||
popupContent={t('datasetDocuments.list.action.enableWarning')}
|
||||
popupClassName='!font-semibold'
|
||||
needsDelay
|
||||
>
|
||||
<div>
|
||||
<Switch defaultValue={false} onChange={noop} disabled={true} size='md' />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue