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(CustomScrollView): use default scrollbar if hasPointer=false #6437

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

SevereCloud
Copy link
Contributor


  • Unit-тесты
  • e2e-тесты
  • Дизайн-ревью
  • Документация фичи

Описание

На смартфонах не требуется скроллбар

Изменения

Если главное устройство ввода не мышь, отключаем кастомый скроллбар

@SevereCloud SevereCloud requested a review from a team as a code owner January 23, 2024 10:20
@github-actions github-actions bot added the patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча label Jan 23, 2024
Copy link
Contributor

github-actions bot commented Jan 23, 2024

size-limit report 📦

Path Size
JS 348.53 KB (+0.07% 🔺)
JS (gzip) 106.59 KB (+0.07% 🔺)
JS (brotli) 88.1 KB (+0.02% 🔺)
JS import Div (tree shaking) 1.43 KB (0%)
CSS 257.13 KB (+0.2% 🔺)
CSS (gzip) 33.69 KB (+0.18% 🔺)
CSS (brotli) 27.38 KB (+0.24% 🔺)

Copy link

codesandbox-ci bot commented Jan 23, 2024

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 93da177:

Sandbox Source
VKUI TypeScript Configuration

Copy link
Contributor

github-actions bot commented Jan 23, 2024

e2e tests

Playwright Report

Copy link
Contributor

github-actions bot commented Jan 23, 2024

👀 Docs deployed

Commit 93da177

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (3dd1fcb) 81.36% compared to head (93da177) 81.98%.
Report is 1 commits behind head on master.

Files Patch % Lines
...c/components/CustomScrollView/CustomScrollView.tsx 81.81% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6437      +/-   ##
==========================================
+ Coverage   81.36%   81.98%   +0.62%     
==========================================
  Files         327      327              
  Lines       10141    10146       +5     
  Branches     3413     3416       +3     
==========================================
+ Hits         8251     8318      +67     
+ Misses       1890     1828      -62     
Flag Coverage Δ
unittests 81.98% <81.81%> (+0.62%) ⬆️

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

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

inomdzhon
inomdzhon previously approved these changes Jan 23, 2024
Copy link
Contributor

@inomdzhon inomdzhon left a comment

Choose a reason for hiding this comment

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

(оставил пару необязательных предложений)

….tsx

Co-authored-by: Inomdzhon Mirdzhamolov <i.mirdzhamolov@vk.team>
Copy link
Contributor

@mendrew mendrew left a comment

Choose a reason for hiding this comment

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

👏

@SevereCloud SevereCloud merged commit fa7dd65 into master Jan 24, 2024
25 checks passed
@SevereCloud SevereCloud deleted the SevereCloud/issue4756 branch January 24, 2024 09:45
vkcom-publisher pushed a commit that referenced this pull request Jan 24, 2024
* fix(CustomScrollView): use default scrollbar if hasPointer=false
- fixed #4756

---------

Co-authored-by: Inomdzhon Mirdzhamolov <i.mirdzhamolov@vk.team>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча
Projects
None yet
3 participants