-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODatepicker not shown as expected when used on a small modal #135
Comments
With theme-bulma 0.4.2 |
It can maybe be related to #107. However, have you tried adding
|
I have tryed your sugestion, but obtained the same results described on las comment of issue #373 on oruga-ui/oruga, unfortunately it looks that this is a more complex bug. |
I have found that the z-index is in 20 for --bulma-dropdown-content-z whe displaying the datepicker, this value can be related to the problem of datepick. |
Remove the In the In the .modal-card {
display: flex;
flex-direction: column;
max-height: calc(100vh - var(--bulma-modal-card-spacing));
overflow: hidden;
overflow-y: visible;
} In that declaration, the overflow-y should be visible, but as you can see, there’s still a scroll on the y-axis. However, if you remove the overflow: hidden, the component appears as follows: I tried changing overflow: hidden to overflow-x: hidden, but for some reason, it causes conflicts and doesn't display correctly. It might be a good idea to test with other browsers to get more context. <OModal
v-model:active="isImportaRegistrosSIIActive"
:cancelable="false"
width="33rem"
>
<div class="modal-card" style="width: 33rem">
<header class="modal-card-head">
<p class="modal-card-title" style="margin-bottom: 0">
Importa registros de CV desde SII
</p>
<button class="delete" aria-label="close" />
</header>
<section class="modal-card-body">
<div class="columns">
<OField label="Período" class="column is-5">
<ODatepicker type="month" expanded />
</OField>
<OField
label="Tipo de registro"
class="column is-5"
>
<OSelect expanded>
<option value="1">Compras</option>
<option value="2">Ventas</option>
</OSelect>
</OField>
</div>
</section>
<footer class="modal-card-foot">
<div style="width: 100%; text-align: right">
<OButton class="mr-2"> Cancelar </OButton>
<OButton variant="link"> Importar </OButton>
</div>
</footer>
</div>
</OModal> cc: @pflirae |
@dylanson25 , thanks for your comments, just question, what version of oruga an theme are you using ? since I have not been able to reproduce your results, I am usin orugo 0.9.0-pre.2 and theme-bulma 0.4.3. |
Here is the code. Keep in mind that this solution is specifically for your error, but it may be counterproductive in certain cases. Codehttps://github.com/dylanson25/theme-bulma/blob/107-Overlay-zindex/src/views/Home.vue package.jsonhttps://github.com/dylanson25/theme-bulma/blob/107-Overlay-zindex/package.json cc: @pflirae |
Thanks @dylanson25, this is working great, it looks more a problem of oruga than a problem wiht the theme, it is a temporary fix that helps a lot. |
Anyone have problems to get auth to SII using token? i got this {"id":"0","descripcion":"Data.TokenRecaptcha no puede estar vacio"} for last 5 days |
Overview of the problem
Oruga version: 0.9.0-pre.2
Vuejs version: 3.5.6
OS/Browser: do not depend of browser
Description
When using ODatepicker is does not shown correctly when used with a small modal, it gets covevered by the modal instead of been displayed over the modal.
Steps to reproduce
With this code it can be reproduced:
This code shows the following modal:
When doing a click over the comboboxs it is displayed over de modal, as can be seen here:
When doing click over the Datepicker, it is shown inside the modal, as can be seen here:
Expected behavior
It is espected that the Datepicker is shown over the modal, as is the case with the combobox.
Actual behavior
As shown on problem description.
The text was updated successfully, but these errors were encountered: