-
Notifications
You must be signed in to change notification settings - Fork 196
fix(TabsItem): fix onClick prop without controlled mode #8998
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
Merged
EldarMuhamethanov
merged 2 commits into
master
from
e.muhamethanov/tabs-controlled-mode-fix
Sep 25, 2025
Merged
fix(TabsItem): fix onClick prop without controlled mode #8998
EldarMuhamethanov
merged 2 commits into
master
from
e.muhamethanov/tabs-controlled-mode-fix
Sep 25, 2025
+1
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
size-limit report 📦
|
Contributor
e2e tests |
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8998 +/- ##
=======================================
Coverage 96.10% 96.10%
=======================================
Files 449 449
Lines 25773 25773
Branches 4811 4811
=======================================
Hits 24768 24768
Misses 1005 1005
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
👀 Docs deployed
📦 Package ✅yarn add @vkontakte/vkui@https://vkui-screenshot.hb.bizmrg.com/pull/8998/96e88b7659662ecc5f13504d7549e03d7ada4908/pkg/@vkontakte/vkui/_pkg.tgzCommit 96e88b7 |
inomdzhon
reviewed
Sep 25, 2025
inomdzhon
approved these changes
Sep 25, 2025
vkcom-publisher
pushed a commit
that referenced
this pull request
Sep 25, 2025
* fix(TabsItem): fix onClick prop without controlled mode * fix(TabsItem): fix condition
Contributor
| ✅ v7.7.1 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ci:cherry-pick:patch
Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча
cmp:tabs-item
type:bug
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Описание
После #8484 в
TabsItemвсегда прокидывается свойствоonClickи, посколькуTabsItemиспользует внутриTappable, компонент всегда интерактивный, что не очень правильно. Нужно сделать так, чтобы onClick вTappableпрокидывался только, если снаружи прокинутonClickили, еслиTabsработает в контролируемом режимеRelease notes
Исправления
TabsItemвсегда был интерактивным