Skip to content
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

Expanded property of OInput not working with oruge 0.9.pre.2 and theme-bulma 0.4 #126

Closed
pflirae opened this issue Sep 10, 2024 · 4 comments · Fixed by #127 or #129
Closed

Expanded property of OInput not working with oruge 0.9.pre.2 and theme-bulma 0.4 #126

pflirae opened this issue Sep 10, 2024 · 4 comments · Fixed by #127 or #129
Labels
bug Something isn't working

Comments

@pflirae
Copy link

pflirae commented Sep 10, 2024

Overview of the problem

Oruga version: 0.9.0-pre.2
Vuejs version: 3.5.4
OS/Browser: not dependent of browser

Description

OInput field with expanded property is not expanding as expected, it remains at a fixed size, when using theme-bulma version 0.4.

Steps to reproduce

Using this code is possible to reproduce the problem :

<OField class="column is-5 marginless" label="Cliente">
  <OInput v-model="nombre_cliente" maxlength="255" placeholder="Cliente ..." expanded />
</OField>

it show this on screen:

image

Expected behavior

should diplay up to the end of the blue area:

image
in red the miising expansion

Actual behavior

The one shown on the image at the septs to reproduce

@holtolee
Copy link

I have the same issue, did you find a solution ?

@pflirae
Copy link
Author

pflirae commented Sep 12, 2024

I am usign a temporary solution, by adding the following class, as a global class, so all expanded components can use it:

.control.is-expanded {
display: flex;
flex-grow: 1;
flex-shrink: 1;
}

@mlmoravek mlmoravek added the bug Something isn't working label Sep 12, 2024
@mlmoravek mlmoravek transferred this issue from oruga-ui/oruga Sep 12, 2024
@mlmoravek
Copy link
Member

mlmoravek commented Sep 12, 2024

Hey, an easier workaround is to use .control.is-expanded { width: 100%; }.

Fix will come soon.

@holtolee
Copy link

Sorry to reopen but control expanded inside a field is-grouped is not working after the fix in 0.4.1

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants