-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Should allow autofocus to be disabled. #813
Comments
supamanda
pushed a commit
to supamanda/react-data-grid
that referenced
this issue
Jun 23, 2017
…ther the grid can steal focus from the body (adazzle#813)
3 tasks
supamanda
pushed a commit
to supamanda/react-data-grid
that referenced
this issue
Jun 23, 2017
…ther the grid can steal focus from the body (adazzle#813)
3 tasks
supamanda
pushed a commit
to supamanda/react-data-grid
that referenced
this issue
Jun 26, 2017
…utoFocus configuration (adazzle#813)
malonecj
pushed a commit
that referenced
this issue
Nov 6, 2017
…845) * Allow autofocus to be configured so that the developer can choose whether the grid can steal focus from the body (#813) * set enableAutoFocus to true by default, and add tests for the enableAutoFocus configuration (#813) * Update Cell's enableCellAutoFocus tests to reflect change to using ref instead of ReactDOM to find node to focus on * Change render function name for Cell's enableCellAutoFocus tests so it is unique
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WHICH VERSION OF REACT ARE YOU USING?
WHICH BROWSER ARE YOU USING?
I'm submitting a ... (check one with "x")
Current behavior
This is related to #704
Expected/desired behavior
Could we have a property that would disable autofocus altogether? I have a page with 2 grids on it, and the page is automatically scrolled down whenever the page loads. The users are complaining.
Reproduction of the problem
Place one grid at the top of the page , add some (longish) content and add a grid at the bottom of the page. When that page loads in Chrome it will scroll to the bottom grid.
What is the expected behavior?
The grid should not specify scroll behavior, it is just another part of the page.
What is the motivation / use case for changing the behavior?
Any page that has multiple grids should be able to do so without having to "hack" auto-scrolling with a timeout or something else like that.
The text was updated successfully, but these errors were encountered: