vue-js-cron icon indicating copy to clipboard operation
vue-js-cron copied to clipboard

Add support to teleported

Open kouz75 opened this issue 1 year ago • 2 comments

When the component is used in a modal, the scroll of the modal move when we open one of the drop down.

several el-element component had the same issue: https://devs.keenthemes.com/question/element-ui-el-select-on-modal-makes-the-scroll

adding :teleported="false" fix the issue.

is there a way to handle this attribut in the component ?

thanks

kouz75 avatar May 17 '24 12:05 kouz75

Hey,

Unfortunatly, I havn't been able to reproduce your issue. https://codesandbox.io/p/sandbox/vue-js-cron-ant-locale-50-forked-d5qsvz

However, I thought I already exposed the dropdown attributes. I'm going to add a property called dropdownProps to the cron-element-plus component. Then you should be able to set teleported to false

abichinger avatar May 17 '24 16:05 abichinger

Please let me know if the latest version works. https://abichinger.github.io/vue-js-cron/typedoc/interfaces/_vue_js_cron_element_plus.CronElementPlusProps.html#dropdownProps

abichinger avatar May 17 '24 17:05 abichinger

hi, thanks it's working with the new version.

kouz75 avatar May 18 '24 08:05 kouz75