Skip to content

Common Issues

Leighton Sapir edited this page Nov 10, 2020 · 5 revisions

1. Why does a modal close when I press Enter in an input?

When you click on the Enter key, the form will try to submit if there is a button somewhere without the proper type declaration. To fix this problem make sure you include type="button" to any button that won't work as "submit".


2. The component in the design is nowhere to be found in the library.

This is okay. Not all elements from a design can be found on the Shared UI Library because we only support main components.

Clone this wiki locally