carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.86k stars 1.82k forks source link

[Bug]: Multi Select not working (missing scripts) in vanilla implementation #9615

Closed rbeatty closed 3 years ago

rbeatty commented 3 years ago

Package

carbon-components

Browser

Chrome

Package version

v10.41.0, v10.43.0, others

Description

Vanilla implementation includes multi-select styles and html but component does not function as scripts are missing from both compiled scripts and components folders. This is the case on vanilla documentation site as well as when downloaded via npm/yarn.

Missing functionality includes: dropdown toggle, filtering, clearing selections.

This issue was logged last year in https://github.com/carbon-design-system/carbon/issues/6839 but was closed due to inactivity, not sure if it has re-occurred or persists from that time.

CodeSandbox example

https://the-carbon-components.netlify.app/?nav=multi-select

Steps to reproduce

Option 1:

View vanilla documentation site, try to interact with component examples

Option 2:

  1. npm install --save carbon-components
  2. check script folders (node_modules/carbon-components/es/components/ and node_modules/carbon-components/umd/components/), notice multi-select component folder is missing here but available in html and scss folders

Code of Conduct

jnm2377 commented 3 years ago

Hi @rbeatty thanks for opening this issue! Unfortunately, we've moved to being react-first and are really only developing our react components. The vanilla library is being deprecated in v11, and as of now, anything besides the styles (since we're still consuming those for our react components) is community maintained. If you would like to contribute a PR to add the js necessary for the vanilla multiselect, we would be more than happy to include it, but we won't be working on this. I will close this issue for now, but can re-open if you would like to take it on. :)