fix(folders): folder creation scroll behavior #2562
Merged
+25
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes a bug where creating a new folder or workflow inside a collapsed parent folder would not automatically expand the parent, making the newly created item invisible and preventing the scroll-to-item functionality from working. This ensures a clear user experience by automatically revealing new items.
Fixes #(issue) - [Bug] When I create a folder inside of another folder, it doesn't open that folder and scroll.
Type of Change
Testing
The fix was verified by running lint and type checks, which passed. The behavior was manually tested by creating new folders and workflows within collapsed parent folders to confirm they now expand and scroll correctly.
Checklist
Screenshots/Videos