mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[data grid] Overlays aren't sticky in RTL mode

Open h03ein1376 opened this issue 1 year ago • 5 comments

Steps to reproduce

Link to live example: (document)

Current behavior

Data Grid Overlays aren't sticky in RTL mode: image

Expected behavior

It should be sticky, just like in LTR mode: image

Search keywords: Data Grid Overlays RTL

h03ein1376 avatar Aug 22 '24 06:08 h03ein1376

Confirmed ... I'll add this to the board! Thanks for raising this @h03ein1376 👍🏼

michelengelen avatar Aug 22 '24 09:08 michelengelen

@michelengelen ~~I attempted to replicate the issue but couldn't identify the problem. I'd like to contribute by investigating further - could you please provide the steps to help me troubleshoot?~~ Understood the issue

kalyan90 avatar Oct 08 '24 17:10 kalyan90

@michelengelen @arminmeh is use useRtl hook working in grid components. As per mui docs we have to wrap the component with RTLProvider https://mui.com/material-ui/migration/migrating-to-pigment-css/#migrating-from-theme-direction

kalyan90 avatar Oct 15 '24 12:10 kalyan90

@romgrk can you please help here?

@michelengelen @arminmeh is use useRtl hook working in grid components. As per mui docs we have to wrap the component with RTLProvider https://mui.com/material-ui/migration/migrating-to-pigment-css/#migrating-from-theme-direction

kalyan90 avatar Oct 18 '24 11:10 kalyan90

I'm not sure, but I would expect this to be fixable with just CSS.

romgrk avatar Oct 18 '24 19:10 romgrk

Added a PR to address this issue. https://github.com/mui/mui-x/pull/15072

kalyan90 avatar Oct 23 '24 15:10 kalyan90

The issue seems fixed on some platforms and still present in others (macOS at least).

romgrk avatar Nov 06 '24 01:11 romgrk