Git Product home page Git Product logo

Comments (5)

BernieSumption avatar BernieSumption commented on June 22, 2024 1

The cause of the issue is in src/styles.scss.

*,
*::after,
*::before {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

Ag Grid uses icon fonts to render icons, and by setting the font on *::after you remove the icon font icons and checkboxes.

We'll make a change to the grid styles to make them less susceptible to this kind of thing, but in the mean time using this instead works:

*,
*::after,
*::before {
  box-sizing: border-box;
}
* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

from ag-grid.

AG-Zoheil avatar AG-Zoheil commented on June 22, 2024

Hi

Thank you for reporting this.

We'd be happy to look into this, but the most efficient way for us to do so would be for you to provide a live example reproducing the issue.

Please send us a live plunker sample which shows the issue. You can use one of the examples from our website as a starting point. Do let us know if you need further guidance on this.

We're looking forward to your response.

Kind regards,
Zoheil

from ag-grid.

sdasswift avatar sdasswift commented on June 22, 2024

Hi,

Thanks for responding back quickly.

It's an intermittent issue actually and it's hard to reproduce it manually. I keep my network tab open always, next time it happens, I'll see the network and will report back to you, if I see any discrepancy.

Thanks
Soumyanil

from ag-grid.

evheniyrz avatar evheniyrz commented on June 22, 2024

checkbox icons in cell are not displayed with initial settings
image
image
css variables == --ag-icon-checkbox-unchecked and --ag-icon-checkbox-checked are not defined
image

stackblitz: https://stackblitz.com/~/github.com/evheniyrz/angular-cdk-drag-handle

Angular: ^17.3.7
Ag-Grid:
"ag-grid-angular": "^31.3.1",
"ag-grid-community": "^31.3.1",
Component:
src/app/pages/ag-grid-tutorial/components/table/table.component.ts

Angular.json

"styles": [
              "node_modules/ag-grid-community/styles/ag-grid.css",
              "node_modules/ag-grid-community/styles/ag-theme-quartz.css",
              "@angular/material/prebuilt-themes/pink-bluegrey.css",
              "src/styles.scss"
            ],

from ag-grid.

evheniyrz avatar evheniyrz commented on June 22, 2024

The cause of the issue is in src/styles.scss.

*,
*::after,
*::before {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

Ag Grid uses icon fonts to render icons, and by setting the font on *::after you remove the icon font icons and checkboxes.

We'll make a change to the grid styles to make them less susceptible to this kind of thing, but in the mean time using this instead works:

*,
*::after,
*::before {
  box-sizing: border-box;
}
* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

@BernieSumption
thank you for considering this issue.
yes, now the icons are displayed perfectly

from ag-grid.

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.