Pass a target to toggle directive toggle and open methods #15137
Labels
🐛 bug
Any issue that describes a bug
👑 app-builder
🧨 severity: medium
🏃 priority: high
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
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
andopen
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.The text was updated successfully, but these errors were encountered: