Skip to content

Commit

Permalink
fix: modals no longer closed by onBlur of menu (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
dclinz authored Nov 7, 2022
1 parent 72905bc commit a433de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stories/grid/FormTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const FormTest = <RowType extends GridBaseRow>(_props: CellEditorCommon):
//appendToElement={() => (poppedOut && popoutElement) || document.body}
>
<h2>Header</h2>
<p className="WarningAlertWithButtons-new-line">Description</p>
<p className="WarningAlertWithButtons-new-line">This modal was added to help fix a bug where the onBlur for the context menu was prematurely closing the editor and therefore this modal.</p>
<LuiAlertModalButtons>
<LuiButton level="secondary" onClick={()=> {setShowModal(false);}} data-testid="WarningAlertWithButtons-cancel">
Cancel
Expand Down

0 comments on commit a433de6

Please sign in to comment.