Skip to content

fix(ui): unlock document scroll after list delete mutations - #32050

Open
sushant-kataria wants to merge 1 commit into
hashicorp:mainfrom
sushant-kataria:fix/ui-list-scroll-after-delete
Open

fix(ui): unlock document scroll after list delete mutations#32050
sushant-kataria wants to merge 1 commit into
hashicorp:mainfrom
sushant-kataria:fix/ui-list-scroll-after-delete

Conversation

@sushant-kataria

Copy link
Copy Markdown

Summary

After deleting a row in long Vault UI lists (KV, policies, auth methods), scrolling could remain fully disabled until a hard refresh. This restores document overflow after list destroy mutations and adds a small unlockDocumentScroll helper for delete paths.

Fixes #31852

Test plan

  • Long KV/policies/auth list → delete one item → mouse wheel / trackpad still scrolls
  • Scrollbar remains usable without reload
  • Sign HashiCorp CLA if prompted

Notes

Happy to retarget the unlock call to the exact list component maintainers prefer if body-level overflow is not the lock source in 1.21.x.

Deleting an item in long KV/policies/auth lists could leave scrolling
fully disabled until reload. Restore body/html overflow after destroy
and expose a small unlock helper for list delete paths.

Fixes hashicorp#31852
@sushant-kataria
sushant-kataria requested review from a team as code owners July 27, 2026 15:43
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. ui labels Jul 27, 2026
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vault-ui Error Error Jul 27, 2026 3:43pm

Request Review

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

The `vercel.json` schema validation failed with the following message: should NOT have additional property `public`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

@hashicorp-cla-app

hashicorp-cla-app Bot commented Jul 27, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files. ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scrolling does not work after deleting some object in long list in web UI (v 1.21.1, 1.21.4)

1 participant