Enable scrolling to address Issue#12308 #12404
Open
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 of Changes Made to Enable Scrolling in
VarPanel
Container Structure: The main container of the
VarPanel
component was structured to allow scrolling by ensuring that the outer container has a defined maximum height (maxHeight: '400px'
) and usesoverflow-y-auto
to enable vertical scrolling.Scrollable Areas:
overflow-y-auto
and a maximum height to ensure that it can scroll when the content exceeds the visible area.overflowY: 'auto'
to allow scrolling for long text values.CSS Classes: Ensured that the appropriate CSS classes (
overflow-y-auto
,max-h-60
, etc.) were applied correctly to avoid any conflicts that might prevent scrolling.Result
These changes ensure that users can scroll through the content of the
VarPanel
, including the variable list and any long text values, enhancing usability and accessibility.Close #12308
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods