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

Fix styling bug on filter chips #2835

Merged
merged 4 commits into from
Oct 5, 2022
Merged

Fix styling bug on filter chips #2835

merged 4 commits into from
Oct 5, 2022

Conversation

joshri
Copy link
Contributor

@joshri joshri commented Oct 5, 2022

Closes #2784

  • ChipGroup properly overflows without pushing CheckboxActions or the icon buttons off the screen
  • A bug where a one character text search could meet the requirements for an undefined filter has been fixed
  • An empty text search is not able to be submitted as a valid filter
ChipOverflow.mov

@joshri joshri added the area/ui Issues that require front-end work label Oct 5, 2022
@joshri joshri requested review from ozamosi and opudrovs October 5, 2022 16:23
@opudrovs
Copy link
Contributor

opudrovs commented Oct 5, 2022

Tried submitting text strings consisting of space characters only. Submitted the following strings individually , , , , , (from 1 space to 6 spaces) and it resulted in six small chips.

Is it expected behavior or is it beyond the scope of this issue?

Screenshot 2022-10-05 at 18 57 43

@joshri
Copy link
Contributor Author

joshri commented Oct 5, 2022

I think space characters are okay, I was focused on just pressing enter with nothing typed in the field. It might be worth trimming white space on the ends of submissions though

@opudrovs
Copy link
Contributor

opudrovs commented Oct 5, 2022

Sounds good. Can we have a search term ending with a space or spaces? What columns are we searching within now? Can their values have spaces?

@opudrovs
Copy link
Contributor

opudrovs commented Oct 5, 2022

Just noticed, a test is failing. Otherwise it LGTM!

@joshri joshri merged commit e399eba into main Oct 5, 2022
@joshri joshri deleted the 2784-chip-overflow branch October 5, 2022 18:18
foot pushed a commit that referenced this pull request Oct 14, 2022
* fix chip overflow, display of empty text search

* snap

* overflow hidden not needed

* snaps again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Issues that require front-end work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ChipGroup styling on overflow
2 participants