Skip to content

Commit a68a112

Browse files
committed
code review feedback
1 parent fa0e251 commit a68a112

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

components/dash-core-components/src/components/css/dropdown.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
background: var(--Dash-Fill-Inverse-Strong);
6464
min-width: fit-content;
6565
width: var(--radix-popover-trigger-width);
66+
overflow-y: auto;
6667
z-index: 50;
6768
box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35),
6869
0px 10px 20px -15px rgba(22, 23, 24, 0.2);

components/dash-core-components/src/fragments/Dropdown.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ const Dropdown = (props: DropdownProps) => {
256256
const finalValue: DropdownProps['value'] = multi ? [] : null;
257257
setProps({value: finalValue});
258258
}, [multi]);
259+
259260
const handleSelectAll = useCallback(() => {
260261
if (multi) {
261262
const allValues = sanitizedValues.concat(
@@ -487,9 +488,7 @@ const Dropdown = (props: DropdownProps) => {
487488
onOpenAutoFocus={e => e.preventDefault()}
488489
onKeyDown={handleKeyDown}
489490
style={{
490-
width: 'var(--radix-popover-trigger-width)',
491491
maxHeight: maxHeight ? `${maxHeight}px` : 'auto',
492-
overflowY: 'auto',
493492
}}
494493
>
495494
{searchable && (

tests/integration/renderer/test_children_reorder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ def swap_button_action(n_clicks, children):
6262

6363
for i in range(2):
6464
dash_duo.wait_for_text_to_equal("h1", f"I am section {i}")
65-
# dash_duo.wait_for_text_to_equal(
66-
# f".dropdown_{i} .Select-multi-value-wrapper", "Select..."
67-
# )
6865
dash_duo.find_element(f".dropdown_{i}").click()
6966
dash_duo.find_element(
7067
f".dropdown_{i} .dash-dropdown-option:nth-child(1)"

0 commit comments

Comments
 (0)