-
Notifications
You must be signed in to change notification settings - Fork 600
HDDS-14840. User Experience improvements on Buckets tab #9928
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
Changes from 2 commits
0ae746c
f85e66a
b4dcbaf
70d1f60
8f7bcf7
e8bd4a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -262,16 +262,20 @@ const Buckets: React.FC<{}> = () => { | |
| onChange={handleVolumeChange} | ||
| fixedColumn='' | ||
| onTagClose={() => { }} | ||
| columnLength={volumeOptions.length} /> | ||
| columnLength={volumeOptions.length} | ||
| showSearch={true} | ||
| showSelectAll={true} /> | ||
| <MultiSelect | ||
| options={columnOptions} | ||
| defaultValue={selectedColumns} | ||
| selected={selectedColumns} | ||
| placeholder='Columns' | ||
| onChange={handleColumnChange} | ||
| onTagClose={() => { }} | ||
| fixedColumn='name' | ||
| columnLength={COLUMNS.length} /> | ||
| fixedColumn={['name', 'volumeName']} | ||
| columnLength={COLUMNS.length} | ||
| showSearch={true} | ||
| showSelectAll={true} /> | ||
| <SingleSelect | ||
| options={LIMIT_OPTIONS} | ||
| defaultValue={selectedLimit} | ||
|
Comment on lines
278
to
280
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to increase the z-index for this
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added menuPortalTarget={document.body} to the Select in singleSelect.tsx. This portals the dropdown outside the component's DOM subtree - the same approach MultiSelect already uses. The selectStyles in select.constants.tsx already has menuPortal: zIndex: 9999 defined, so that rule now applies to SingleSelect as well with no further changes needed.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice approach! |
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.