:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(taxonomic-filter): plain resting icon for rebuild input trigger (#63470)
Paul D'Ambrae7fe14f63ec6
diff --git a/frontend/src/lib/components/TaxonomicPopover/TaxonomicPopoverMenu.tsx b/frontend/src/lib/components/TaxonomicPopover/TaxonomicPopoverMenu.tsxindex ae6745a4744d..6017a8a41fb5 100644--- a/frontend/src/lib/components/TaxonomicPopover/TaxonomicPopoverMenu.tsx+++ b/frontend/src/lib/components/TaxonomicPopover/TaxonomicPopoverMenu.tsx@@ -22,7 +22,6 @@ import { useValues } from 'kea'import { ReactElement, useMemo, useState } from 'react'import { IconChevronDown, IconFilter } from '@posthog/icons'-import { InputGroupButton } from '@posthog/quill'import { TaxonomicFilterHeadless } from 'lib/components/TaxonomicFilter/headless'import { MenuFilterEntry, TaxonomicFilterMenu } from 'lib/components/TaxonomicFilter/menu'@@ -169,21 +168,21 @@ export function TaxonomicPopoverMenu<ValueType extends TaxonomicFilterValue = Ta{useInputTrigger ? (<MenuInputTriggericonButton={- <InputGroupButton- variant="outline"- size="icon-sm"+ // Keep the resting placeholder visually identical to the armed trigger.+ // data-attr differs from the armed trigger's — intentional for analytics.+ <LemonButton+ size="small"+ icon={<IconFilter />}aria-label="Open filter menu"data-attr="taxonomic-popover-menu-trigger"// Stop the click bubbling to the LemonInput wrapper, whose// onClick focuses the input, whose onFocus arms the combobox.// Without this the icon would open the combobox, not the menu.- onClick={(e: React.MouseEvent) => {+ onClick={(e) => {e.stopPropagation()arm('menu')}}- >- <IconFilter />- </InputGroupButton>+ />}fullWidth={!!triggerButtonProps?.fullWidth}placeholder={typeof placeholder === 'string' ? placeholder : 'Add filter'}