Тёмный

How to create a Google Style Search Bar with Angular CDK Overlay and Material! 

Zoaib Khan
Подписаться 5 тыс.
Просмотров 3,7 тыс.
50% 1

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

 

9 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@user-zn8dm8cp5t
@user-zn8dm8cp5t 5 месяцев назад
Great content!
@ZoaibKhan
@ZoaibKhan 5 месяцев назад
Thanks man! Glad you liked it ☺️
@KostasOreopoulos
@KostasOreopoulos 3 месяца назад
Excellent as always. Your udemy course is also great! highly recommended.
@ZoaibKhan
@ZoaibKhan 3 месяца назад
Thanks Kostas! 🙏
@techwake360
@techwake360 4 месяца назад
Awesome
@ZoaibKhan
@ZoaibKhan 4 месяца назад
Glad you liked it!
@urtaav639
@urtaav639 6 месяцев назад
Nice
@spinebms1994
@spinebms1994 3 месяца назад
Dropdown does not scroll with the rest ? when you have leanthy page then the dropdown does not scroll or connected with searchbar. when page have already overlayflow-y:auto; how we can resolve this
@ZoaibKhan
@ZoaibKhan 3 месяца назад
You mean the page contents are scrolling, but the search bar remaining on its place (i.e. sticky?) There are various scrolling strategies you can use with the cdk overlay, here are your options. rc.material.angular.io/cdk/overlay/overview#scroll-strategies
@yelose85
@yelose85 5 месяцев назад
I have read that effect() is not stable yet in angular 17, is there another way to use the storage without effect() function?
@ZoaibKhan
@ZoaibKhan 5 месяцев назад
Yes, if you want to keep it reactive i.e. based on signal changes, you can convert the signal to an observable and subscribe to it, then save to local storage. Otherwise, you can keep it imperative, by just saving to local storage whenever you add or remove items in their respective event handlers...
@mahdiandalib186
@mahdiandalib186 6 месяцев назад
thx man, plz implement youtube or instagram comment section using angular
@ZoaibKhan
@ZoaibKhan 6 месяцев назад
Aah, good idea. I've noted it!
@mahdiandalib186
@mahdiandalib186 6 месяцев назад
thx man, we are waiting and if its possible for you plz create long tutorials using angular... for example a news website using anuglar and nest js...@@ZoaibKhan
@ihssanesoumir5659
@ihssanesoumir5659 4 месяца назад
Thank you for the video , it is so helpful .I have an issue in my code , I can't seem to figure out the solution.And i will appreciate any help . When I put in my page another input field or an image (anything) the overplay doesn't appear on the top of them , but instead it gets detached from the origin input field and becomes under the bottom of whatever components in the page .I will appreciate any help on this matter . this is my code {{ option }}
@ZoaibKhan
@ZoaibKhan 4 месяца назад
Glad you liked the video! About the issue that you're getting, I can't say much till I can see your whole code. But from the looks of this snippet, I'm guessing the issue might be the styles that you've given here on the overlay related to its position. So the overlay should automatically position itself based on the overlay origin element. And you can provide offsets from that - so that gives you some flexibility - but giving an absolute style here might mess up other stuff for the overlay. That's just my 2 cents. Just out of curiosity, why did you need add this explcit in line style for positioning?
@ihssanesoumir5659
@ihssanesoumir5659 4 месяца назад
@@ZoaibKhan thank you so much for your response .I have included prebuilt-overlay.css and It has solved the issue . And when It comes to your question,honestly I was just getting desperate and trying everything possible (not the best way , and didn't work ) .
Далее
Customizing Angular Material just got easier in v18!
14:12
Building a Recursive Angular Sidebar Component
25:02
Просмотров 1,5 тыс.
гендер пати🩷🩵
00:21
Просмотров 69 тыс.
Новый хит Люси Чеботиной 😍
00:33
Angular CDK Overlay: How positioning works
9:22
Просмотров 2,4 тыс.
Brutally honest advice for new .NET Web Developers
7:19
What’s new in Angular v18
20:08
Просмотров 121 тыс.
Senior Angular Developer Interview (theory)
41:57
Просмотров 19 тыс.
гендер пати🩷🩵
00:21
Просмотров 69 тыс.