Skip to content

Commit

Permalink
IBX-8663: Fixed dropdown remove listener
Browse files Browse the repository at this point in the history
  • Loading branch information
dew326 authored and juskora committed Oct 17, 2024
1 parent cc62563 commit 37842e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle/ui-dev/src/modules/common/dropdown/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const Dropdown = ({

return () => {
document.body.removeEventListener('click', onInteractionOutside);
document.body.removeEventListener('click', calculateAndSetItemsListStyles);
scrollContainer?.removeEventListener('scroll', calculateAndSetItemsListStyles);

setItemsListStyles({});
};
Expand Down

0 comments on commit 37842e9

Please sign in to comment.