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

Importing accordions in React app - initial setup not working #35

Open
namanaman opened this issue Jun 12, 2023 · 0 comments
Open

Importing accordions in React app - initial setup not working #35

namanaman opened this issue Jun 12, 2023 · 0 comments

Comments

@namanaman
Copy link
Contributor

For UI Claim Status web app, we are using accordions pulled via the njwds NPM package. When we import the JS file uswds-init.js and uswds.js to allow for JS functionality to work, we are noticing that the initial accordion setup is not working (the content of the accordion is shown even though it starts closed by default). There may be something to investigate here into how JS functionality loads and interacts with a React app. After clicking on the accordion button the first time, functionality is as expected

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

No branches or pull requests

1 participant