Skip to content

Commit

Permalink
[Security Solution][Exceptions] - Fix scroll on edit exception flyout (
Browse files Browse the repository at this point in the history
…#137492) (#138031)

## Summary

Addresses issue #136942 - when editing exception items with numerous entries, flyout was not scrolling properly.

(cherry picked from commit 8e002ce)

Co-authored-by: Yara Tercero <[email protected]>
  • Loading branch information
kibanamachine and yctercero authored Aug 3, 2022
1 parent 2e81f4c commit a909f16
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const FlyoutBodySection = styled.section`
`}
`;

const FlyoutCheckboxesSection = styled(EuiFlyoutBody)`
const FlyoutCheckboxesSection = styled.section`
overflow-y: inherit;
height: auto;
.euiFlyoutBody__overflowContent {
Expand Down Expand Up @@ -361,7 +361,7 @@ export const EditExceptionFlyout = memo(function EditExceptionFlyout({
!isIndexPatternLoading &&
!isRuleLoading &&
!mlJobLoading && (
<>
<EuiFlyoutBody>
<FlyoutBodySection className="builder-section">
{isRuleEQLSequenceStatement && (
<>
Expand Down Expand Up @@ -439,7 +439,7 @@ export const EditExceptionFlyout = memo(function EditExceptionFlyout({
</>
)}
</FlyoutCheckboxesSection>
</>
</EuiFlyoutBody>
)}

<EuiFlyoutFooter>
Expand Down

0 comments on commit a909f16

Please sign in to comment.