PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
20.69k stars 1.24k forks source link

Bug Report: Feature flags - field contents partially hidden when pasting values for matching criteria #23831

Open slshults opened 1 month ago

slshults commented 1 month ago

Bug Description

Bug description

When creating or editing a feature flag, the form field for entering values can obscure content pasted when the field is already nearly full:

CleanShot 2024-07-18 at 10 11 14@2x

How to reproduce

  1. Create or edit a feature flag
  2. Keep the default for 'Match by' Users
  3. Select a person property (e.g. Distinct ID)
  4. Paste and select enough values to almost fill the visible part of the field
  5. When you paste an entry which overflows, note that the value you pasted is mostly obscured (see the thicker arrow in the screenshot above)

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/15845

Debug info

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/0190c6c7-f775-72c7-8464-b3b6c10db818?t=970
Admin: http://go/adminOrgUS/018e0d19-ade7-0000-d4af-dbad1dcf0ab8 (project ID 56976)
Sentry: http://go/sentryUS/56976
yinjs commented 4 weeks ago

@slshults Thanks for the update. Regarding to the latest change you've added an edit icon in each select option. After clicking the edit icon then unfocus (click out side of the menu), a new value is added to the input. To me it's a little bit weird. Edit should change the existing value instead of add a new one? And it this case I did no change.