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

Appearance settings

Commit 7bc7f96

Browse filesBrowse files
committed
fix: CDropdown: fix split button dropdowns positioning
1 parent 1a64352 commit 7bc7f96
Copy full SHA for 7bc7f96

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎src/components/dropdown/CDropdown.vue

Copy file name to clipboardExpand all lines: src/components/dropdown/CDropdown.vue
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ export default {
139139
return
140140
}
141141
this.$nextTick(() => {
142+
142143
this._popper = createPopper(
143-
this.$el.firstElementChild,
144+
//not first child because of split buttons
145+
this.$el.children[this.$el.children.length - 2],
144146
this.$refs.menu,
145147
this.customPopperOptions || this.defaultPopperOptions
146148
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.