Giter Site home page Giter Site logo

Comments (5)

GeertvanHorrik avatar GeertvanHorrik commented on July 24, 2024 1

Created Blazorise_Playground repro so I can easily add more repros in the future.

Please see the DataGrid page. Once I update to the latest, the buttons are invisible. If you add the clear: both, it starts behaving as it used to do.

from blazorise.

GeertvanHorrik avatar GeertvanHorrik commented on July 24, 2024

I think there are more issues with the datagrid. Buttons floating above the datagrid are overlapped by the ant-table-content style. Whenever I disable position: relative, the buttons show up again.

Below shows the issue where the DataGrid adds the white header at the top (not sure why):

image

Whenever I remove the position: relative from ant-table-content, the buttons show up, but before 1.5 it was not adding this white header.

image

The datagrid is completely separated from the buttons, yet still it overlaps them somehow. Wrapping the DataGrid inside a div with clear: both "solves" the issue:

<div>
    <Button>
        Edit
    </Button>

    ....
</div>


<div style="clear: both;">
    <DataGrid>
        ...
    </DataGrid>
</div>

image

from blazorise.

stsrki avatar stsrki commented on July 24, 2024

Can you clarify what buttons? Are we still talking about pagination button? If you have some custom code it would be great if you could provide an example.

from blazorise.

GeertvanHorrik avatar GeertvanHorrik commented on July 24, 2024

No, just custom buttons I put above the datagrid. I will try to create a repro, but it's a lot of work every time I find something so must find resources to do so.

Here is the pseudo code I use:

<div>
    <Button>
        Edit
    </Button>

    ....
</div>

<div style="clear: both;">
    <DataGrid>
        ...
    </DataGrid>
</div>

Without the clear: both, the datagrid expands to the top, hiding the buttons.

from blazorise.

stsrki avatar stsrki commented on July 24, 2024

Ant Design may also have some new default styles in v4.24.x.

from blazorise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.