Skip to content
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

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

mendrew
Copy link
Contributor

@mendrew mendrew commented Sep 25, 2023


Описание

ScrollArrow это кнопка, и чтобы она не отправляла форму по умолчанию, ей следует задать тип button.

To avoid using it to trigger form submit as button has type=submit by
default
@github-actions
Copy link
Contributor

github-actions bot commented Sep 25, 2023

size-limit report 📦

Path Size
JS 317.17 KB (+0.01% 🔺)
JS (gzip) 96.78 KB (+0.01% 🔺)
JS (brotli) 80.23 KB (+0.2% 🔺)
JS import Div (tree shaking) 2.95 KB (0%)
CSS 276.35 KB (0%)
CSS (gzip) 36.07 KB (0%)
CSS (brotli) 28.59 KB (0%)

@codesandbox-ci
Copy link

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:

Sandbox Source
VKUI TypeScript Configuration

@github-actions
Copy link
Contributor

e2e tests

Playwright Report

@github-actions
Copy link
Contributor

github-actions bot commented Sep 25, 2023

👀 Docs deployed

Commit a0971dd

@codecov
Copy link

codecov bot commented Sep 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (989fa40) 81.18% compared to head (a0971dd) 81.18%.
Report is 3 commits behind head on master.

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           
Flag Coverage Δ
unittests 81.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...es/vkui/src/components/ScrollArrow/ScrollArrow.tsx 93.75% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mendrew mendrew marked this pull request as ready for review September 25, 2023 08:29
@mendrew mendrew requested a review from a team as a code owner September 25, 2023 08:29
@mendrew mendrew added ci:cherry-pick:patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча v5 Автоматизация: PR продублируется в ветку v5 labels Sep 25, 2023
Copy link
Contributor

@eugpoloz eugpoloz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ура, еще одна неохваченная кнопка охвачена! 🚀

@mendrew mendrew merged commit 5c170b3 into master Sep 25, 2023
@mendrew mendrew deleted the mendrew/fix/ScrollArrow/specify-default-type-button branch September 25, 2023 11:15
vkcom-publisher pushed a commit that referenced this pull request Sep 25, 2023
To avoid using it to trigger form submit as button has type=submit by
default
vkcom-publisher pushed a commit that referenced this pull request Sep 25, 2023
To avoid using it to trigger form submit as button has type=submit by
default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:cherry-pick:patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча v5 Автоматизация: PR продублируется в ветку v5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: в CardScroll стрелочка "влево" тригеррит onSubmit
3 participants