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

Element UI - el-select on modal makes the scroll


Hi Lauris,

Im using Vue Metronic 8 demo 5.
The issue is visible from example here
https://preview.keenthemes.com/metronic8/vue/demo5/#/crafted/modals/forms/new-target

when you have a long enough modal to scroll it down and you`ll have el-select when you choose option ... modal is scrolling automatically to the top and option is not selected.
How to fix this?

Regards
Krystian


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)


Weshapesoul.com- Fitness Experts, Nutritionist, Diet Plans, Weight Loss, Health, Wellness, Weight Gain, Dietitian, Fitness, 15 Weight Loss Tips for People With Chronic Condition.
https://weshapesoul.com



this helped

:teleported="false"


thank you Lauris



Hi Krystian,

Glad to hear that. Please let us know if you have any further questions on this topic or anything else.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Your Support Matters!

We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.

I've tried

<el-select v-model="blabla" :popper-append-to-body="false"
<el-option .....


I also tried to append this to el-option
Still when I scroll down modal and at theend when I have el-select autoscroll happening after picking up option.

In el-plus docs "popper-append-to-body is depreciated



Hi Krystian,

We tested this with :popper-append-to-body="false" and it helped to resolve autoscroll issue.

Instead of :popper-append-to-body="false", can you try to set :teleported="false"?

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi Krystian,

To fix this you can set popper-append-to-body to false on your el-select component instance.

:popper-append-to-body="false"



Regards,
Lauris Stepanovs,
Keenthemes Support Team


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  :(