We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1558f3c commit 1b31533Copy full SHA for 1b31533
lib/ruby_ui/dropdown_menu/dropdown_menu_controller.js
@@ -32,6 +32,7 @@ export default class extends Controller {
32
computePosition(this.triggerTarget, this.contentTarget, {
33
placement: this.optionsValue.placement || "top",
34
middleware: [flip(), shift(), offset(8)],
35
+ strategy: this.optionsValue.strategy || "absolute",
36
}).then(({ x, y }) => {
37
Object.assign(this.contentTarget.style, {
38
left: `${x}px`,
0 commit comments