Skip to content

Commit

Permalink
PR fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eireland committed Jan 26, 2024
1 parent a41591a commit 879972a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/attribute-filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ const FilterModal = ({attr, position, targetFilterBottom, setShowFilterModal, se
// Change filter-operator-selection-container height if window is shorter than dropdown
useEffect(() => {
if (showOperatorSelectionModal) {
console.log("dropdownBottom && dropdownBottom > windowHeight", dropdownBottom, windowHeight, dropdownBottom && dropdownBottom > windowHeight);
if (dropdownBottom && dropdownBottom > windowHeight) {
const cutOffAmount = dropdownBottom - windowHeight;
setOperatorSelectionListHeight({height: 190 - cutOffAmount - 3});
Expand Down

0 comments on commit 879972a

Please sign in to comment.