kendo-react
kendo-react copied to clipboard
[Bug][Grid] Using the Grid in production results in missing vertical borders
I'm submitting a...
- Bug report
Current behavior
The Grid looks different when tested in development and production builds. Everything works fine in the development build and once the project is built for production, the Grid vertical borders are missing. This is reproducible when creating an app with create-react-app and in Next.js and running the production build. This is related to an issue with cssnano:
https://github.com/cssnano/cssnano/issues/1006
Expected behavior
All styles available in dev should be present in production as well.
Minimal reproduction of the problem with instructions
- Follow the steps here to create an app https://www.telerik.com/kendo-react-ui/components/getting-started/create-react-app/ and add a Grid
- Run npm run build
- Run npm install -g serve
- Run serve -s build
- Observe that the vertical border is missing:
Reported in Ticket ID: 1634176
Also reported in Ticket ID: 1637767