Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access the HTML Cell Element with a Pinned Column using the apiRef getCellElement #7819

Closed
2 tasks done
tjgibbs92 opened this issue Feb 3, 2023 · 1 comment · Fixed by #7354
Closed
2 tasks done
Labels
component: data grid This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists plan: Premium Impact at least one Premium user

Comments

@tjgibbs92
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example: https://codesandbox.io/s/admiring-rubin-6wgxjx?file=/index.js

Steps:

  1. Double Click the first cell and hit tab in each grid

Current behavior 😯

When hitting tab with pinned columns, the apiRef is not returning the HTML Cell Element.

Expected behavior 🤔

Hitting Tab will return the HTML element of the next cell.

Context 🔦

In the first grid, hitting Tab will return the HTML element of the next cell as expected.
In the second grid however, with the pinned columns, the HTML cell element is not returned.

We are trying to focus custom inputs of the next editable column using the keyboard.

Your environment 🌎

npx @mui/envinfo System:
OS: Windows 10 10.0.19045

Binaries:

Node: 16.15.0 - C:\Program Files\nodejs\node.EXE

Yarn: Not Found

npm: 8.15.0 - ~\AppData\Roaming\npm\npm.CMD

Browsers:

Chrome: Not Found

Edge: Spartan (44.19041.1266.0), Chromium (109.0.1518.70)

npmPackages:

@emotion/react: ^11.9.3 => 11.9.3

@emotion/styled: ^11.9.3 => 11.9.3

@mui/base:  5.0.0-alpha.107

@mui/core-downloads-tracker:  5.10.15

@mui/material: ^5.10.15 => 5.10.15

@mui/private-theming:  5.10.15

@mui/styled-engine:  5.10.14

@mui/system:  5.10.15

@mui/types:  7.2.1

@mui/utils:  5.10.15

@mui/x-data-grid:  5.17.20

@mui/x-data-grid-premium: ^5.17.20 => 5.17.20

@mui/x-data-grid-pro:  5.17.20

@mui/x-license-pro:  5.17.12

@types/react:  18.0.15

react: ^17.0.1 => 17.0.2

react-dom: ^17.0.1 => 17.0.2

Order ID 💳 (optional)

58533

@tjgibbs92 tjgibbs92 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 3, 2023
@zannager zannager added component: data grid This is the name of the generic UI component, not the React module! plan: Premium Impact at least one Premium user labels Feb 6, 2023
@cherniavskii
Copy link
Member

Hey @tjgibbs92
Thanks for opening this issue and providing the reproduction example!
This was reported previously in #7093, we will track it there.
I'll close this one as a duplicate, thanks again!

@cherniavskii cherniavskii added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 6, 2023
@cherniavskii cherniavskii closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2023
cherniavskii pushed a commit that referenced this issue Feb 6, 2023
Co-authored-by: Andrew Cherniavskyi <andrew@mui.com>
Fixes #7093
Fixes #7819
cherniavskii pushed a commit to cherniavskii/mui-x that referenced this issue Feb 6, 2023
Co-authored-by: Andrew Cherniavskyi <andrew@mui.com>
Fixes mui#7093
Fixes mui#7819
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists plan: Premium Impact at least one Premium user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants