-
Notifications
You must be signed in to change notification settings - Fork 355
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
Bug - Table - Page/table gets auto scrolled while clicking on some row actions #10790
Comments
@burhanQuartic I moved this over to our React repo. Updating where the action menu gets appended may help resolve this by passing something along the lines of Depending on the implementation, if you're using our Dropdown or Select components you could pass that to the outermost element, |
@thatblindgeye I tried appending it to an element closer to the trigger but that also didn't worked. |
@burhanQuartic we merged a PR that should be included in our next version 5 release that should help alleviate the issue. An alternative workaround for now would be to update the appendTo to the document body (rather than as close to the trigger as possible). |
@thatblindgeye we have updated the patternfly version to the latest, but still the issue is there. |
@burhanQuartic can you confirm the version number of |
@thatblindgeye we tested on @patternfly/react-core version 5.4.0 |
Gotcha, was just wondering because we merged a PR that might actually help resolve this issue (tweaking the timeout of our auto-focus logic), and that is part of version 5.4.1 |
Describe the problem
This is an issue with
when the user clicks on the some row actions, the page/table gets scrolled automatically
How do you reproduce the problem?
This issue can be reproduced on the patternfly table demo component as well. https://www.patternfly.org/components/table/#modifiers-with-table-text
Expected behavior
The page/table should not get randomly scrolled on clicking the row action.
What is your environment?
What is your product and what release date are you targeting?
August 2024
The text was updated successfully, but these errors were encountered: