-
Notifications
You must be signed in to change notification settings - Fork 184
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
fix(ScrollArrow): Specify default type="button" #5863
fix(ScrollArrow): Specify default type="button" #5863
Conversation
To avoid using it to trigger form submit as button has type=submit by default
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit a0971dd:
|
e2e tests |
👀 Docs deployed
Commit a0971dd |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #5863 +/- ##
=======================================
Coverage 81.18% 81.18%
=======================================
Files 299 299
Lines 9189 9189
Branches 3120 3120
=======================================
Hits 7460 7460
Misses 1729 1729
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ура, еще одна неохваченная кнопка охвачена! 🚀
To avoid using it to trigger form submit as button has type=submit by default
To avoid using it to trigger form submit as button has type=submit by default
Описание
ScrollArrow это кнопка, и чтобы она не отправляла форму по умолчанию, ей следует задать тип
button
.