{ const currentScrollY = window.scrollY; if (Math.abs(currentScrollY - lastScrollY) > navThreshold / 4) { // Add some tolerance if (currentScrollY > lastScrollY && currentScrollY > navThreshold && !isProfileDropdownOpen && !isMobileMenuOpen) { showNav = false; // Scrolling down } else { showNav = true; // Scrolling up or near top } lastScrollY = currentScrollY; } }" @hide-navbar.window="showNav = false" -navbar.window="showNav = true" x-show="showNav" x-transition:enter="transition ease-out duration-300" x-transition:enter-start="opacity-0 transform -translate-y-full" x-transition:enter-end="opacity-100 transform translate-y-0" x-transition:leave="transition ease-in duration-300" x-transition:leave-start="opacity-100 transform translate-y-0" x-transition:leave-end="opacity-0 transform -translate-y-full">
Home
Series
Movies
Podcast
Events
Shop
About Us
Login
Home
Series
Movies
Podcast
Events
Shop
About Us
Login
ලංකාව ජාත්යන්තර වෙළඳාම නොකිරීම කුමන්ත්රණයක්.. ඉන්න මම පැහැදිලි කරන්නම්..
Economics
Geopolitical
Subscribe Now
Series -
Policy Politics Progress Podcast
2015,2020 අපේ තිබුණු සංචිත මොනවගේද?
Watching
ලංකාව ජාත්යන්තර වෙළඳාම නොකිරීම කුමන්ත්රණයක්.. ඉන්න මම පැහැදිලි කරන්නම්..