Improve Tooltip UX by enabling delay by default (#21383)
This commit is contained in:
@@ -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' />
|
||||
|
Reference in New Issue
Block a user