ng-bootstrap icon indicating copy to clipboard operation
ng-bootstrap copied to clipboard

[Feature-Request] NgbDropdown: Display dropdown at mouse position

Open NickeManarin opened this issue 2 years ago • 2 comments

I'm trying to use the dropdown more like a context menu. I'm able to open the dropdown on right-click and also hide the dropdown icon, I just need to position the popup next to the position where the user clicked.

Is there anyway right now to reposition the popup based on mouse cursor position?

NickeManarin avatar Aug 09 '22 19:08 NickeManarin

You probably will be able to do it with 13.1.0 when the ability to customize popper configuration lands → https://github.com/ng-bootstrap/ng-bootstrap/pull/4323/files#diff-d24959c228994784fb99ed2a578fcbd2da9ffbd457cea8472db9e04f3cde852bR200

maxokorokov avatar Aug 11 '22 08:08 maxokorokov

Oh, great! I'll wait for that release.

NickeManarin avatar Aug 11 '22 15:08 NickeManarin