Загрузка видео...

Не удалось загрузить видео

На главную

Combining React Aria's Autocomplete, Menu, and upcoming SubDialog component to create multi-level filterable submenus. 😎

16,554 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля Devon Govett
Devon Govett1 год назад

All done with composition of existing components! There's some pretty intricate focus management behind the scenes enabling us to seamlessly transition between virtual focus for Autocomplete and DOM focus to move between sub dialogs, all with the keyboard.

Фото профиля SecurityPal
SecurityPal1 год назад

Questionnaire Concierge is now available as an API! With the new API, you can: 📝 Create new questionnaire request directly 🔍 Instantly search questionnaire details ⚒️ Build custom form and dashboard 🔗: #SecurityPal #SecurityQuestionnaires #API

Фото профиля moeritz.io 🦋
moeritz.io 🦋1 год назад

the next time people ask me why I use react aria i will just show them this tweet

Фото профиля Sam Denty
Sam Denty1 год назад

killer work devon! 🔥👏

Фото профиля Yann Birba - 🦋 @yannbirba.fr
Yann Birba - 🦋 @yannbirba.fr1 год назад

Insane

Фото профиля Juciano Barbosa ⚛️
Juciano Barbosa ⚛️1 год назад

Awesome

Фото профиля Roman Sandler
Roman Sandler1 год назад

That's amazing! Any plans to also support the GridList component in there?

Фото профиля Devon Govett
Devon Govett1 год назад

Yes, though possibly not with virtual focus (i.e. where focus stays on the input when keyboard navigating). It's more complicated with GridList since that allows focusable elements within rows. Might be easier to just tab into the list and navigate as normal in that case.

Фото профиля pdyc
pdyc1 год назад

interesting. wondering how that would look on mobile. I implemented something like this with radix-ui but had to do lot of hardcoding to deal with tree menu behaving properly on mobile.

Фото профиля Ramin
Ramin1 год назад

How can we have a select component with a search feature?

Фото профиля Devon Govett
Devon Govett1 год назад

Yep, just wrap the ListBox with an Autocomplete!

Похожие видео