mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[PR #2969] [MERGED] feat: added scrollbar for tabs #4165
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/2969
Author: @anwarulislam
Created: 4/5/2023
Status: ✅ Merged
Merged: 4/6/2023
Merged by: @AndrewBastin
Base:
staging← Head:feat/tab-scrollbar📝 Commits (2)
7b31df0feat: tab scrollbar addeddebe587fix: initial scrollbar hiding issue📊 Changes
1 file changed (+106 additions, -29 deletions)
View changed files
📝
packages/hoppscotch-ui/src/components/smart/Windows.vue(+106 -29)📄 Description
🤖 Generated by Copilot at 06590dd
Summary
✨💄🔧
Added a custom scrollbar/slider for the tabs in the Windows component. This improves the user experience and usability of the
hoppscotch-uipackage by allowing the user to navigate through multiple tabs more easily. The scrollbar/slider is a range input that controls the scroll position of theWindows.vuefile.Walkthrough
Windows.vue(link, link, link, link, link)group-tabsclass to show or hide the slider on hover (link, link)inputelement of typerangeas the slider (link)thumbPositionreactive variable and thescrollThumb.widthcomputed property (link, link)maxattribute of the slider to theMAX_SCROLL_VALUEconstant (link, link)thumbPositionandtabEntriesvalues and update the scroll position accordingly (link)propsdefinition to use thewithDefaultsfunction (link)watchfunction fromvue(link)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.