Skip to content
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

Pass a target to toggle directive toggle and open methods #15137

Open
wnvko opened this issue Dec 4, 2024 · 0 comments
Open

Pass a target to toggle directive toggle and open methods #15137

wnvko opened this issue Dec 4, 2024 · 0 comments

Comments

@wnvko
Copy link
Contributor

wnvko commented Dec 4, 2024

Is your feature request related to a problem? Please describe.

I have a button. On mouseover I want to show a dropdown connected to the button.

Describe the solution you'd like

I expect toggle and open methods of dropdown to accept target as HTMLElement.

Describe alternatives you've considered

I can provide now OverlaySettings and show the dropdown correctly. However, I need to provide target and position strategy. As dropdown has its own default position strategy, I actually have to override it with the same one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant