Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Does Metronic Menu (Dropdowns) support Responsible Alignment


I need something like this data-bs-display="static"
To prevent insufficient bottom screen, it will automatically move up

https://getbootstrap.com/docs/5.2/components/dropdowns/#responsive-alignment


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


Hi,

Can you try to use data-kt-menu-static="true"?

Menu Options

Regards,
Sean



I have tried this, which is about whether to turn off when clicking on blank areas. What I'm talking about is about automatic upward movement



Hi,

By default the menu dropdowns are flipped based on the available parent viewport height.

You can consider disabling it in the component's source:
enabled: false in src/js/components/menu.js.

By adding popper "enabled" popper config:


var popperConfig = {
placement: placement,
strategy: strategy,
modifiers: [{
name: "offset",
options: {
offset: offset
}
}, {
name: "preventOverflow",
options: {
altAxis: altAxis
}
}, {
name: "flip",
options: {
enabled: false,
flipVariations: false
}
}]
};


Regards,
Sean



Still useless
<img src="https://clearseve.com/1.gif" />



remove
```
{
name: "preventOverflow",
options: {
altAxis: altAxis
}
}
```

This deletion is the effect I want, can we consider making it configurable



Hi,

Noted, we will make it configurable in a future update.

Regards,
Sean


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(