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

Input width on MultiSelect #3573

Closed
CodeMaven opened this issue May 28, 2019 · 2 comments · Fixed by #3636
Closed

Input width on MultiSelect #3573

CodeMaven opened this issue May 28, 2019 · 2 comments · Fixed by #3636

Comments

@CodeMaven
Copy link

Environment

  • Package version(s):
    "@blueprintjs/core": "^3.15.1",
    "@blueprintjs/select": "^3.8.0",
  • Browser and OS versions: Linux Mint 16, Firefox 66.03

Question

How can I make a MultiSelect component fill the width of the container? using
tagInputProps={{fill:true }}
doesn't seem to have any effect. I've also tried styling the component with CSS but the tag input box always remains at 150px and grows only as I add tags.

Additionally, I have an issue where the tags wrap but the box doesn't expand to accommodate. I.e. If I add more tags than can fit in the width of the container the tags wrap to the next line but the box doesn't expand and the components below do not move so the new tags are superposed under the control below.
MultiSelects
TagsWrapping

@jpk0727
Copy link

jpk0727 commented Jun 24, 2019

I have the exact some questions

@adidahiya adidahiya changed the title Input witdth on MultiSelect Input width on MultiSelect Jun 24, 2019
@adidahiya
Copy link
Contributor

I think this is essentially the same as #2931

Setting popoverProps={ targetTagName: 'div' } should allow you to use fill: true. I'll update the docs to mention this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants