Add Tooltip to Filter Icon in ObjectTable Component

- Wrapped the FilterIcon in a Tooltip component to enhance user experience by providing a visual cue for filtering functionality.
- Ensured the tooltip listens to parent events for better interaction on mobile devices.
This commit is contained in:
Tom Butcher 2026-08-21 20:23:21 +01:00
parent 33423fe437
commit 650d9a8513

View File

@ -1259,7 +1259,11 @@ const ObjectTable = forwardRef(
fixed: isMobile ? undefined : fixed,
key: prop.name,
filterIcon: () => {
return <FilterIcon />
return (
<Tooltip title='Filter' listenParents={1}>
<FilterIcon />
</Tooltip>
)
},
render: (text, record) => {
if (record?.isSkeleton) {