-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<VirtualFocus /> component #2894
base: main
Are you sure you want to change the base?
Conversation
|
Storybook demoEndringer til review: 4003cc70a7 | 85 komponenter | 163 stories |
Merker at et mye bedre navn på en slik prop er |
const thinger = () => {
show how easy it is to add icons / do something more complicated inside the autocomplete suggestions list alongside a <Search>
- fairly nicely working list of virtually focusable items - API interface kept simple (moved pick to Anchor though, single "exit point") - item has focus function now, which triggers when it gets virtual focus, the API should not distinguish between virtual and real focus was the thinking here, it's more an implementation detail.
- showcase dropdown search autocomplete
@navikt/core/react/src/form/autocomplete/autocomplete.stories.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Ken <[email protected]>
Co-authored-by: Ken <[email protected]>
- renaming to better match the rest of DS - remove itemRole (just use role) - eslint ignore
check out the cool branch |
There are some changes I want to backport from the test branch, will bring them here & remove them from the test branch. |
549a26d
to
971884c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this isn't an actual form-component, there might be a more fitting location for the code than under /form
true, holdover from when it started as a prop on |
internal tooling (for now)