video.folx.tv Replit project
Go to file
sebastjanartic 91617c8835 Improve video carousel scrolling experience for smoother navigation
Refactors the Netflix grid component's horizontal scrolling implementation. Instead of using CSS transforms for manual positioning, it now utilizes the browser's native smooth scrolling behavior via `scrollBy` on a container with `overflow-x-auto`. This change aims to resolve issues where videos were not scrolling correctly and to provide a more fluid user experience. The `scrollContainerRef` is introduced to directly access the DOM element for scrolling. The component now relies on CSS to manage the display of the carousel items, eliminating the need for manual `translateX` state management and fixed video widths for calculation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/yexZbDm
2025-08-29 17:07:20 +00:00
attached_assets Improve video grid layout and logging for better user experience 2025-08-29 16:27:05 +00:00
client Improve video carousel scrolling experience for smoother navigation 2025-08-29 17:07:20 +00:00
server Ensure video thumbnails are always up-to-date 2025-08-29 16:13:33 +00:00
shared Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
.gitignore Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
.replit Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
components.json Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
cookies.txt Add user authentication and video upload capabilities 2025-08-08 18:28:28 +00:00
drizzle.config.ts Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
package-lock.json Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
package.json Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
postcss.config.js Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
pyproject.toml Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
replit.md Restored to '44d6f571a5a2b8bce0fd4e8a9eae76204284885b' 2025-08-28 17:43:16 +00:00
tailwind.config.ts Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
tsconfig.json Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
uv.lock Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
vite.config.ts Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00