You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify that using overflow-y-scroll with no-scrollbar doesn’t negatively affect scroll performance on mobile devices; consider overflow-y-auto if appropriate.
Why: Adding tabIndex={0} makes the scrollable <section> keyboard-focusable and scrollable when its scrollbar is hidden, boosting accessibility in a straightforward way.
Medium
Hide scrollbars in all browsers
To ensure scrollbars are hidden across browsers, add vendor-specific CSS properties like scrollbarWidth: "none" and msOverflowStyle: "none" to the inline style object. This prevents visible scrollbars in Firefox and IE/Edge.
Why: Adding scrollbarWidth and msOverflowStyle ensures the hidden scrollbar behavior works in Firefox and IE/Edge, improving cross-browser consistency without major impact.
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
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.
User description
✨ PR 세부 내용
쇼츠 pc에서 스크롤바 제거
이미지 스크롤 시 불러오는 타이밍 앞당겨서 스켈레톤이 최대한 덜 보이도록 수정
☑️ 체크리스트
🛠 기본 검사 항목
✍️ 작성자 선택 항목
📸 스크린샷
✅ 리뷰 요구사항
PR Type
Enhancement
Description
Hide default scrollbar in Shorts layout
Update
classNamein ShortsLayout componentFile Walkthrough
ShortsLayout.tsx
Add no-scrollbar class to layoutsrc/components/shorts/ShortsLayout.tsx
no-scrollbarCSS utility classclassNameonelement