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

[BUG] OuiSplitButton still displays dropdown when no options available #1208

Open
pjfitzgibbons opened this issue Jan 12, 2024 · 0 comments · May be fixed by #1209
Open

[BUG] OuiSplitButton still displays dropdown when no options available #1208

pjfitzgibbons opened this issue Jan 12, 2024 · 0 comments · May be fixed by #1209
Labels
bug Something isn't working

Comments

@pjfitzgibbons
Copy link
Contributor

Describe the bug

When options is blank-array, or options is not present at all, the "dropdown" side of SplitButton is still displayed, and when clicked an empty Popover is rendered.

To Reproduce
Steps to reproduce the behavior:

  1. Use this TSX :
<OuiSplitButton >Test</OuiSplitButton>
  1. See dropdown button
  2. Click dropdown button
  3. See empty Popver (2-pixel line under dropdown)

Expected behavior
No dropdown button, no popover

@pjfitzgibbons pjfitzgibbons added bug Something isn't working untriaged labels Jan 12, 2024
@pjfitzgibbons pjfitzgibbons linked a pull request Jan 12, 2024 that will close this issue
7 tasks
@BSFishy BSFishy removed the untriaged label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants