Closed bobbyshaw closed 4 weeks ago
Describe the bug
When the PillTabs component is within a form, using them submits the form.
To Reproduce Steps to reproduce the behavior:
Use pill tabs in this demo of the issue:
https://codesandbox.io/s/pill-tab-button-test-v7dtvf?file=/src/App.tsx
Expected behavior
Using the pill tabs should not submit the form.
Describe the bug
When the PillTabs component is within a form, using them submits the form.
To Reproduce Steps to reproduce the behavior:
Use pill tabs in this demo of the issue:
https://codesandbox.io/s/pill-tab-button-test-v7dtvf?file=/src/App.tsx
Expected behavior
Using the pill tabs should not submit the form.