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

Two loading spinners are displayed #590

Open
madflow opened this issue Jan 7, 2025 · 1 comment
Open

Two loading spinners are displayed #590

madflow opened this issue Jan 7, 2025 · 1 comment

Comments

@madflow
Copy link

madflow commented Jan 7, 2025

Describe the bug

  • When using a recent version of this library and @formio/js two loading spinners are displayed for a single form.

To Reproduce

  git clone git@github.com:formio/react-app-starterkit.git
  cd react-app-starterkit
  yarn
  yarn run dev

or with a fresh vite create

{
  "name": "formio-vite",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "tsc -b && vite build",
    "lint": "eslint .",
    "preview": "vite preview"
  },
  "dependencies": {
    "@formio/js": "^5.0.0",
    "@formio/react": "6.0.0-rc.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1"
  },
  "devDependencies": {
    "@eslint/js": "^9.17.0",
    "@types/react": "^18.3.18",
    "@types/react-dom": "^18.3.5",
    "@vitejs/plugin-react": "^4.3.4",
    "eslint": "^9.17.0",
    "eslint-plugin-react-hooks": "^5.0.0",
    "eslint-plugin-react-refresh": "^0.4.16",
    "globals": "^15.14.0",
    "typescript": "~5.6.2",
    "typescript-eslint": "^8.18.2",
    "vite": "^6.0.5"
  }
}
@import "@formio/js/dist/formio.full.min.css";
    <Form src="https://examples.form.io/example" />

Expected behavior

  • It shows one loading spinner.

Screenshots

Kapture 2025-01-07 at 14 47 08

Sandbox Example
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context

@lane-formio
Copy link
Contributor

Thanks for the report @madflow
If someone wants to contribute a fix I'll have our devs review it.

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

No branches or pull requests

2 participants