Тёмный
No video :(

How to Hide Ionic Header on Scroll 

Simon Grimm
Подписаться 97 тыс.
Просмотров 16 тыс.
50% 1

Опубликовано:

 

27 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@TheSaceone
@TheSaceone 3 года назад
I have been trying some approaches for this exact topic for the last few days, I even left a comment in your ionic4-hidenav video, and now you just uploaded this video about this exact topic :D perfect timing for me haha, I'm super excited!! Danke Simon!
@galaxies_dev
@galaxies_dev 3 года назад
Haha happy I could help!
3 года назад
Thank you!! Please parallax effect! :)
@galaxies_dev
@galaxies_dev 3 года назад
Noted!
@thomasomaley
@thomasomaley 3 года назад
It's amazing all that I learned following this tutorial. thanks.
@vector7938
@vector7938 3 года назад
What a nice channel! Your tutorials skillfully deliver real value, are easily "digestible" and your passion is kind of contagious. Also: a tutorial about parallax effects / headers would be awesome. :)
@galaxies_dev
@galaxies_dev 3 года назад
Awesome, thank you!
@ezequiel_lopez
@ezequiel_lopez 3 года назад
Thanks for you time and videos!
@galaxies_dev
@galaxies_dev 3 года назад
Glad you like them!
@elanzaelani4595
@elanzaelani4595 3 года назад
I'm from Indonesia, I like this content
@iTzFiliSalsa
@iTzFiliSalsa 3 года назад
I Had a problem in my android device, when i scroll to down, the header flicker, i found a solution and was a conversion problem, instead of "const hexDist = scrollTop.toString(16);" you need to parse first of all, like that: "const hexDist = parseInt(scrollTop,10).toString(16);" and problem resolved.
@diansaputrahadiwijaya3213
@diansaputrahadiwijaya3213 6 месяцев назад
Its working, thanks
@GoriAmir
@GoriAmir 3 года назад
Thanks for the tutorial!
@galaxies_dev
@galaxies_dev 3 года назад
Happy to help!
@Thilina4321
@Thilina4321 3 года назад
Thanks a lot ❤
@galaxies_dev
@galaxies_dev 3 года назад
You're welcome 😊
@ToddHale
@ToddHale 3 года назад
My new favorite tip!!
@NileshRUpadhyay
@NileshRUpadhyay 3 года назад
Thanks A lot for the tutorial👍😊 please parallax effect....
@galaxies_dev
@galaxies_dev 3 года назад
Coming soon...!
@josuedavidbermudezavila8391
@josuedavidbermudezavila8391 3 года назад
Muchas gracias!!! Saludos desde Cuba!!!!
@galaxies_dev
@galaxies_dev 3 года назад
Gracias Josué, encantado!
@Devfaisalkhan
@Devfaisalkhan 5 месяцев назад
Hi Simon, how can I achieve the same effect when using cdk virtual scroll. I tried alot but didnt got right solution. Can u guide me?
@snimavat
@snimavat Год назад
Can u create a similar video for vuejs - no example exists for vue - would help a lot
@chihebelfil6469
@chihebelfil6469 3 года назад
thnx bro
@dineshkutty.s6328
@dineshkutty.s6328 3 года назад
Hi @Simon i tried what you have implemented but i am getting this error Can't bind to 'appHideHeader' since it isn't a known property of 'ion-content'. what is the problem to solve this bug.
@galaxies_dev
@galaxies_dev 3 года назад
That means you didn't import the sharedDiretives module inside your page!
@memyselfandi1684
@memyselfandi1684 2 года назад
@@galaxies_dev I have imported the sharedDirectives module inside my page, but still getting this error. :(. Any suggestions?
@prasadnarayana
@prasadnarayana 3 года назад
Awesome video thanks sir 🙏🙏🙏🙏🙏🙏🙏🙏
@Robert-xw5ro
@Robert-xw5ro 3 года назад
I did exactly like you, but after i export the app to apk, on phone header animations are laggy.. Why is that? I want to be smooth as facebook app has
@GioBeridze
@GioBeridze 3 года назад
Parallax effect please
@galaxies_dev
@galaxies_dev 3 года назад
Yes, it's on the list!
@youtube.com-handle
@youtube.com-handle 3 года назад
hi, i m not sure what did i go wrong with this, but! if (newPosition < -scrollTop) { newPosition = -this.toolbarheight; } worked for me, i m developing a capacitor for android, the `if(newPosition < -this.toolbarHeight)` did not work, again not sure what did i do wrong with the styling. i m using ionic cli 6.11.8 still, thanks for the tutorials, they are very useful
@SamiullahKhan
@SamiullahKhan 2 года назад
I also have the same problem, the clientHeight always return 0, If I use setTimeOut with 500 ms delay only than any other value that zero. I also tried all the other lifecycle but of no result
@leocharrua_uy
@leocharrua_uy Год назад
@@SamiullahKhan I have the same issue. Did you find a solution or work arround? Thanks
@leocharrua_uy
@leocharrua_uy Год назад
@Simon Grimm???
@sirvanmonfared9433
@sirvanmonfared9433 2 года назад
hi and tnx for your great tutorials. did you created the parallax effect tutorial for this or not?
@galaxies_dev
@galaxies_dev 2 года назад
You can check out this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TsIVWQf1qNA.html
@GosuMania
@GosuMania 3 года назад
if i have list in different component?
@ivinantony3052
@ivinantony3052 3 года назад
Is there any ways to do Shared element transition with ionic 5. Please reply
@fabiocastino
@fabiocastino 2 года назад
Hi Simon, how can I access a toolbar that is a component? I have the ion-content in a page but the ion-toolbar is imported as a component so I can't import sharedDirective in a component. Hope to have explained my issue well. Can you guess a solution? Thank you
@galaxies_dev
@galaxies_dev 2 года назад
Hmm in that case I guess you can use your component as a viewchild and from there access the toolbar which is a child of that custom component!
@nileshupadhyay7248
@nileshupadhyay7248 3 года назад
Hi Simon I have used this in one of my application (Android), Every thing works perfectly but there is one issue and I am not getting how to solve it. The issue is that when I scroll the page fastly , the Header flikers. and one more thing when we reach at the bottom and scroll little up and if again scroll down at this point also it get fliker... Any solution ?? Thanks
@joaquim7597
@joaquim7597 2 года назад
const hexDist = parseInt(scrollTop,10).toString(16);
@OmgThatsIncredible
@OmgThatsIncredible 3 года назад
Hello Simon. I wanted to have two toolbars inside my header, similar to what Amazon has. The thing is, I only want the second toolbar to hide on scroll. I did everything exactly the same as you, but I get an error on line 15 of hide-header.directive.ts, "Cannot read property 'el' of undefined" (When you set this.toolbar = this.toolbar.el;). When I remove the first toolbar from the home.html everything works fine. I was wondering if there's a solution to this issue.
@galaxies_dev
@galaxies_dev 3 года назад
Hmm perhaps you could directly access the correct toolbar as a ViewChild instead somehow. Which Amazon app do you refer to btw?
@OmgThatsIncredible
@OmgThatsIncredible 3 года назад
@@galaxies_dev Hmm I will research into the ViewChild option... I mean the normal Amazon.com desktop webpage. It has a dark blue bar on top of a lighter one below with more options.
@prasadnarayana
@prasadnarayana 3 года назад
I'm here again 😍
@galaxies_dev
@galaxies_dev 3 года назад
Welcome back!
@meetdurian4539
@meetdurian4539 3 года назад
This function cannot be implemented on my iPhone but it can be implemented on Android
@meetdurian4539
@meetdurian4539 3 года назад
Have you encountered this situation? How to solve?
@ricko13
@ricko13 3 года назад
I can only see overengineering here...
@jabco1502
@jabco1502 3 года назад
Por aquí uno de los primeros 😃
@stephenmutua254
@stephenmutua254 3 года назад
Please Show us how to hide addressbar on mobile web browser when scrolling. Take a look at facebook or instagram when opening on mobile browser. The addressbar is hidden when scrolling. Ionic apps look oldish without hiding the addressbar on mobile browsers. Thanks!
@galaxies_dev
@galaxies_dev 3 года назад
This is a known bug, I can't do much about that :(
Далее
The Essential Ionic Image Zoom Guide (Modal & Cards)
27:55
How to Cache API Responses with Ionic & Capacitor
30:10
Auto Hiding Header on Scroll in Ionic
16:26
Просмотров 24 тыс.
React Native vs Flutter - Which should you use?
22:31
Building a Deliveroo Food Ordering UI with Ionic
1:05:39
Using Capacitor Native HTTP with Ionic
19:26
Просмотров 12 тыс.
ANIMATED CARD LAYOUT - Ionic UI Challenge #1
45:24
Просмотров 14 тыс.
5 React Native Tips to WOW Your Users
16:36
Просмотров 21 тыс.
Learn Sass In 20 Minutes | Sass Crash Course
19:42
Просмотров 932 тыс.