Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdowns too narrow #4045

Closed
corywatilo opened this issue Apr 20, 2021 · 2 comments · Fixed by #4129 or #4147
Closed

Dropdowns too narrow #4045

corywatilo opened this issue Apr 20, 2021 · 2 comments · Fixed by #4129 or #4147
Assignees
Labels
bug Something isn't working right good first issue Good for newcomers

Comments

@corywatilo
Copy link
Contributor

Bug description

Dropdowns seem to open at the width of the previously selected option.

image

Expected behavior

It would be ideal to decouple the width of the dropdown from the currently-selected option. The expanded dropdown should ideally be the width of the longest option, with a reasonable max-width for edge cases.

How to reproduce

  1. Choose a short math selector
  2. Open the dropdown again

Environment

PostHog Cloud

@corywatilo corywatilo added the bug Something isn't working right label Apr 20, 2021
@timgl timgl added the good first issue Good for newcomers label Apr 20, 2021
@corywatilo
Copy link
Contributor Author

Another example inside event filter (Cohort)

image

@samwinslow
Copy link
Contributor

Although #4129 was merged which fixed the cohort select width, the issue with math operator select remains. Reopening until that's solved, too.

@samwinslow samwinslow reopened this Apr 28, 2021
@samwinslow samwinslow self-assigned this Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants