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

[Bug]: I have a problem with use DataGrid and the option of menu #5461

Open
Weidmann16 opened this issue Apr 15, 2024 · 7 comments
Open

[Bug]: I have a problem with use DataGrid and the option of menu #5461

Weidmann16 opened this issue Apr 15, 2024 · 7 comments

Comments

@Weidmann16
Copy link

Blazorise Version

1.5

What Blazorise provider are you running on?

None

Link to minimal reproduction or a simple code snippet

image

When you select an option from the left menu, but there is a datagrid in the view, the columns of the datagrid overlap the selection which is why it looks bad

Steps to reproduce

the step by step is:

  1. have the view open in the mobile version with a datagrid on the screen

  2. Select an option from the menu on the left

What is expected?

the left menu is expected to overlap in the grid

What is actually happening?

datagrid columns overlap in left menu

What browsers do you see the problem on?

No response

Any additional comments?

No response

@Weidmann16 Weidmann16 added the Type: Bug 🐞 Something isn't working label Apr 15, 2024
@stsrki stsrki added this to 🔙 Backlog in Support via automation Apr 15, 2024
@stsrki stsrki added this to the 1.5 support milestone Apr 15, 2024
@stsrki stsrki changed the title [Bug]: I have a problem with use DataGrid and the opcion of menu [Bug]: I have a problem with use DataGrid and the option of menu Apr 17, 2024
@stsrki
Copy link
Collaborator

stsrki commented Apr 17, 2024

Hello, I'm unable to reproduce the issue. Can you provide us with more information?

  • The Provider that you use(Bootstrap, Fluent, etc.)?
  • Sample code if possible.

Copy link
Contributor

Hello @Weidmann16, thank you for your submission. The issue was labeled "Status: Repro Missing", as you have not provided a way to reproduce the issue quickly. Most problems already solve themselves when isolated, but we would like you to provide us with a reproducible code to make it easier to investigate a possible bug.

@Weidmann16
Copy link
Author

Hello I hope

you are having a good day.
The problem occurs on cell phones (this was reported by several users), I tried different browsers and the problem continues.

Below I leave the example on video and I will copy some code:

example.mp4

BarMenu:

<Bar Mode="BarMode.VerticalInline"
     CollapseMode="BarCollapseMode.Small"
     Breakpoint="Breakpoint.Desktop"
     NavigationBreakpoint="Breakpoint.Tablet"
     ThemeContrast="ThemeContrast.Dark">

    <BarToggler />
    <BarBrand>
        <BarItem>
            <BarLink To="">
                <BarIcon IconName="IconName.LayerGroup" />
                Inicio
            </BarLink>
        </BarItem>
    </BarBrand>
    <AuthorizeView>
        <Authorized Context="AuthenticationState">
            <BarMenu>
                <BarStart>
                    <BarItem>
                        <BarDropdown>
                            <AuthorizeView Policy="ITC">
                                <BarDropdownToggle>
                                    <BarIcon IconName="IconName.Ethernet" />
                                    Canales
                                </BarDropdownToggle>
                            </AuthorizeView>

Grid:

DataGrid TItem="SolicitudMantenimientoCambioEstado" Data="solicitudesMantenimientoEstado"
                  Sortable="true"
                    Responsive Narrow Filterable
                    Striped ShowPager FixedHeader PageSize="10"
                   UseInternalEditing="true"
         @bind-SelectedRow="selectSolicitud">
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.IdSolicitudMantenimiento" Caption="ID"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.UsuarioSolicitudMantenimiento.NombreUsuario" Caption="Nombre"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.UsuarioSolicitudMantenimiento.ApellidoUsuario" Caption="Apellido"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.SucursalCentroCostoSolicitudMantenimiento.SucursalSucursalCentroCosto.NombreSucursal" Caption="Local / Sucursal"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.SucursalCentroCostoSolicitudMantenimiento.CentroCostoSucursalCentroCosto.NombreAreaCentroCosto" Caption="Centro Costo"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.TipoMantenimientoOpcionTipoMantenimientoSolicitudMantenimiento.TipoMantenimientoFK.NombreTipoMantenimiento" Caption="Tipo"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.TipoMantenimientoOpcionTipoMantenimientoSolicitudMantenimiento.OpcionTipoMantenimientoFK.NombreOpcionTipoMantenimiento" Caption="Opción"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.NivelUrgenciaSolicitudMantenimiento.NombreNivelUrgencia" Caption="Urgencia"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.FechaSolicitudMantenimiento" Caption="Fecha"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="SolicitudMantenimientoSolicitudMantenimientoCambioEstado.ObservacionSolicitudMantenimiento" Caption="Observación"></DataGridColumn>
             <DataGridColumn TItem="SolicitudMantenimientoCambioEstado" Field="EstadoSolicitudMantenimientoSolicitudMantenimientoCambioEstado.NombreEstadoSolicitudMantenimiento" Caption="Estado"></DataGridColumn>
         </DataGrid>

@David-Moreira
Copy link
Contributor

This seems to be an incompatibility with the FixedHeader feature. Since the FixedHeader basically applies an higher zindex, background white in order to remain on top of the other rows that are scrolled below.

You don't seem to actual be using the feature?

  • You could try disabling for now.
  • You could try playing with the zindex of the sidebar components in order to make them sit over the FixedHeader.

We'll take a look at making it compatible with the sidebar.

@Weidmann16
Copy link
Author

Yeah that's right
Removing FixedHeader stops giving the error, so the problem is with this attribute.

image

@David-Moreira
Copy link
Contributor

David-Moreira commented May 7, 2024

Hello I cannot seem to be able to reproduce this issue:
image

Do you have alot of custom css on your end? Would you like to pursue this issue? If so could you provide a github repo reproducing the issue?

Copy link
Contributor

github-actions bot commented May 7, 2024

Hello @Weidmann16, thank you for your submission. The issue was labeled "Status: Repro Missing", as you have not provided a way to reproduce the issue quickly. Most problems already solve themselves when isolated, but we would like you to provide us with a reproducible code to make it easier to investigate a possible bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Support
  
🔙 Backlog
Development

No branches or pull requests

3 participants