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

[Feature][CustomScrollView]: Не заменять стили полосы прокрутки для мобильных устройств #4756

Closed
egorprnn opened this issue Apr 7, 2023 · 1 comment · Fixed by #6437

Comments

@egorprnn
Copy link
Contributor

egorprnn commented Apr 7, 2023

Описание

Сейчас CustomScrollView полностью заменяет полосу прокрутки обернутого компонента, на мобильный устройствах взаимодействовать с ней невозможно - например на ios можно зажать полоску и подвинуть скролл в любое положение.
Предлагаю не заменять полосу прокрутки для мобильный устройств - добавить проверку по hasMouse.

Убирать обертку на стороне внешнего компонента не всегда удобно - придется дублировать стили для создания скролла в элемента.

Скриншоты

No response

@eugpoloz eugpoloz added this to VKUI Apr 11, 2023
@github-project-automation github-project-automation bot moved this to 🗃 Backlog in VKUI Apr 11, 2023
@SevereCloud SevereCloud self-assigned this Jan 23, 2024
@SevereCloud SevereCloud moved this from 🗃 Backlog to 👀 In Review in VKUI Jan 23, 2024
@SevereCloud SevereCloud added this to the v6.0.1 milestone Jan 23, 2024
SevereCloud added a commit that referenced this issue Jan 24, 2024
* fix(CustomScrollView): use default scrollbar if hasPointer=false
- fixed #4756

---------

Co-authored-by: Inomdzhon Mirdzhamolov <i.mirdzhamolov@vk.team>
@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅ Done in VKUI Jan 24, 2024
vkcom-publisher pushed a commit that referenced this issue Jan 24, 2024
* fix(CustomScrollView): use default scrollbar if hasPointer=false
- fixed #4756

---------

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

v6.0.1 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants