[DataGridPro] Extraneous scrollbar in footer pagination area when using CssBaseline #14814
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
support: pro standard
Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/
Steps to reproduce
https://codesandbox.io/p/sandbox/romantic-wozniak-y3v44k
Steps to reproduce:
Please note that the bug is only reproducible for me with CssBaseline included in: https://codesandbox.io/p/sandbox/romantic-wozniak-y3v44k?file=%2Fsrc%2Findex.tsx%3A15%2C22
Current behavior
At some point, the pagination info disappears and a scrollbar appears instead. Please note that the scrollbar only appears at certain zoom levels and it might be browser dependent (tried on Chrome on Windows).
Expected behavior
The pagination info should be visible (though small) at any zoom out level.
Context
I am building a web application that uses a custom theme that suggest using the CssBaseline from MUI. I also have multiple DataGridPro components in my application. I'm trying to avoid this visual bug when users zoom out (zooming out is useful as it allows you to see more columns on screen at the same time).
Your environment
System:
OS: Windows 11 10.0.22631
Binaries:
Node: 22.8.0 - C:\Program Files\nodejs\node.EXE
npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
pnpm: Not Found
Browsers:
Chrome: Not Found
Edge: Chromium (127.0.2651.105)
npmPackages:
@emotion/react: 11.11.4 => 11.11.4
@emotion/styled: 11.11.5 => 11.11.5
@mui/base: 5.0.0-beta.40
@mui/core-downloads-tracker: 5.16.4
@mui/icons-material: 5.16.4 => 5.16.4
@mui/material: 5.16.4 => 5.16.4
@mui/private-theming: 5.16.4
@mui/styled-engine: 5.16.4
@mui/system: 5.16.4
@mui/types: 7.2.15
@mui/utils: 5.16.6
@mui/x-data-grid: 7.16.0
@mui/x-data-grid-pro: 7.16.0 => 7.16.0
@mui/x-date-pickers: 6.20.2
@mui/x-date-pickers-pro: 7.16.0 => 7.16.0
@mui/x-internals: 7.16.0
@mui/x-license: 7.16.0
@mui/x-license-pro: 6.10.2 => 6.10.2
@types/react: 18.3.3 => 18.3.3
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: 5.5.3 => 5.5.3
Search keywords: scrollbar CssBaseline
Order ID: 94749
The text was updated successfully, but these errors were encountered: