Skip to content

Added the ability to show chips in a horizontally scrolling row … - #22

Open
sarbogast wants to merge 3 commits into
zsoerenm:mainfrom
SynkroCo:main
Open

Added the ability to show chips in a horizontally scrolling row …#22
sarbogast wants to merge 3 commits into
zsoerenm:mainfrom
SynkroCo:main

Conversation

@sarbogast

Copy link
Copy Markdown

Instead of a wrap for when the height of your ChipsInput is constrained.

I simply added a boolean wrap property to ChipsInput to replace the Wrap with a Row when wrap is false.

Then, to make the ChipsInput more usable with that, including on the web where by default, only mouse can scroll, I made sure that all pointing devices could be used to scroll the input.

I also made the TextField's content padding customizable because the hard-coded one didn't make sense when using a row.

And finally I made sure that when wrap is false and the field is a horizontally scrolling row, adding a chip scrolls to the end.

…ad of a wrap for when the height of your ChipsInput is constrained.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant