-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: add a method to programatically focus and open the dropdown element #867
feat: add a method to programatically focus and open the dropdown element #867
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
@NOMADE55 you can rebase develop and then we can merge this one :) |
50f3430
to
8764eb1
Compare
Quality Gate passedIssues Measures |
bef2cc5
into
scania-digital-design-system:develop
I wasn't free until now. I see it already merged, glad to know! |
Describe pull-request
Adds a method to focus and open dropdown element programmatically.
Issue Linking:
How to test
Provide detailed steps for testing, including any necessary setup.
Whether you're using angular, react or web components
focusElement()
method.Checklist before submission
npm run build-all
without errorsSuggested test steps
Additional context
An important note, method is named
focusElement
asfocus
is a reserved name.I'm not really keen on this name, falling victim of the second hardest problem in programming, so feel free to suggest/change it to something more Tegel-ly.