Skip to content

fix(Calendar): nowrap for select#9480

Merged
EldarMuhamethanov merged 1 commit intomasterfrom
SevereCloud/issue9380
Feb 13, 2026
Merged

fix(Calendar): nowrap for select#9480
EldarMuhamethanov merged 1 commit intomasterfrom
SevereCloud/issue9380

Conversation

@SevereCloud
Copy link
Contributor

@SevereCloud SevereCloud commented Feb 13, 2026


Описание

Исправлен баг с некорректным отображением цифр в выпадающем меню выбора времени в Calendar.

При включенном enableTime, при наличии видимого скролл-бара и выбранном времени, текст переносился (например, "14" → "1 \n 4"). Решение реализовано
вторым способом из предложенных в issue: добавлен параметр textNoWrap в CustomSelectOption, который включается через renderOption в
CalendarTimePicker.

Изменения

  • CustomSelectOption: добавлен новый проп textNoWrap для предотвращения переноса текста внутри опции
  • CustomSelectOption.module.css: добавлен класс .textNoWrap со стилем white-space: nowrap
  • CalendarTimePicker: добавлен renderOption с пропом textNoWrap для CustomSelect

Release notes

Исправления

  • CustomSelectOption: добавлено свойство textNoWrap для предотвращения переноса текста
  • Calendar: исправлен баг с некорректным отображением цифр в меню времени при наличии скролл-бара

@SevereCloud SevereCloud requested a review from a team as a code owner February 13, 2026 07:58
@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

size-limit report 📦

Path Size
JS 412.51 KB (+0.04% 🔺)
JS (gzip) 126.42 KB (+0.05% 🔺)
JS (brotli) 104.56 KB (+0.1% 🔺)
JS import Div (tree shaking) 811 B (0%)
CSS 374.37 KB (+0.02% 🔺)
CSS (gzip) 46.38 KB (+0.03% 🔺)
CSS (brotli) 36.67 KB (+0.05% 🔺)

@SevereCloud SevereCloud force-pushed the SevereCloud/issue9380 branch from 2ccb544 to 750d877 Compare February 13, 2026 08:01
@SevereCloud SevereCloud changed the title [Bug][Calendar]: некорректно отображаются цифры в меню времени fix(Calendar): nowrap for select Feb 13, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

e2e tests

Playwright Report

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

📊 Найдены изменения в собранных файлах: Отчет

Commit 08bfcaa

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

👀 Docs deployed

📦 Package ✅

yarn add @vkontakte/vkui@https://development.s3.prodcloud.vk.team/pull/9480/08bfcaa88f6bf69f4920a08b4bb077356fc269f3/pkg/@vkontakte/vkui/_pkg.tgz

Commit 08bfcaa

@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.77%. Comparing base (6882168) to head (08bfcaa).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9480   +/-   ##
=======================================
  Coverage   94.77%   94.77%           
=======================================
  Files         441      441           
  Lines       11956    11958    +2     
  Branches     4406     4407    +1     
=======================================
+ Hits        11331    11333    +2     
  Misses        625      625           
Flag Coverage Δ
unittests 94.77% <100.00%> (+<0.01%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@EldarMuhamethanov EldarMuhamethanov merged commit 0e4e5e3 into master Feb 13, 2026
29 checks passed
@EldarMuhamethanov EldarMuhamethanov deleted the SevereCloud/issue9380 branch February 13, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Calendar]: некорректно отображаются цифры в меню времени

2 participants