Skip to content

Commit 431684f

Browse files
authored
Merge pull request #2 from preshin/fix/visually-hidden-css
Fix missing .visually-hidden CSS expected by formio.js
2 parents 0af935f + c986eed commit 431684f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-formio-engine",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Form engine with builder and renderer - formiojs-powered with React functional components",
55
"type": "module",
66
"main": "dist/form-engine.umd.js",

src/themes/default.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
*/
1111
@import '@formio/js/dist/formio.full.css';
1212

13+
/* Bootstrap's .visually-hidden is expected by formio.js but not bundled */
14+
.visually-hidden {
15+
display: none;
16+
}
17+
1318
/* Make builder sidebar component buttons uniform width with spacing */
1419
.formcomponents .btn.formcomponent {
1520
display: block;

0 commit comments

Comments
 (0)