Closed pepa-linha closed 2 years ago
There isn't any easy way to do this, but you could potentially do this using component-did-mount
lifecycle method where you'd have access to the actual mounted DOM that you can manipulate.
Ok, thanks so much for 🚀 answer.
Is it possible change dropdown DOM element parent? I would like to place a dropdown (element
<div class="datepicker dp-dropdown">
) in a document body (<body>
), for example, because my dropdown parent hasoverflow: auto
which causes a cut the dropdown element. Thanks.