bigcommerce / big-design

Design system that powers the BigCommerce ecosystem.
https://bigcommerce.github.io/big-design
Other
47 stars 65 forks source link

PillTabs submit form #1573

Closed bobbyshaw closed 4 weeks ago

bobbyshaw commented 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.