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 e6f1932 commit 2189098Copy full SHA for 2189098
lib/ruby_ui/dropdown_menu/dropdown_menu_controller.js
@@ -23,6 +23,7 @@ export default class extends Controller {
23
computePosition(this.triggerTarget, this.contentTarget, {
24
placement: this.optionsValue.placement || "top",
25
middleware: [flip(), shift(), offset(8)],
26
+ strategy: this.optionsValue.strategy || "absolute",
27
}).then(({ x, y }) => {
28
Object.assign(this.contentTarget.style, {
29
left: `${x}px`,
0 commit comments