Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Showing arrow on dropdown, like a tooltip does#6897

Unanswered
Ericlm asked this question inQ&A
Discussion options

Hello, I'm looking for a way to show an arrow from a dropdown menu to the dropdown toggle, just like tooltips do. That is, the following, but for a dropdown:
Capture d’écran 2022-01-16 à 15 27 16

I guess the best way is to pass custom popper options via the propspopper-opts of the b-dropdown. However, I don't know anything about Popper JS, and I don't know how to achieve what I want.

You must be logged in to vote

Replies: 1 comment

Comment options

One way would be a CSS triangle on a HTML pseudo element, e.gdropdown-menu:before ordropdown-menu:after. Seethis page for some examples.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@Ericlm@sidneygijzen

[8]ページ先頭

©2009-2025 Movatter.jp