File tree 2 files changed +13
-3
lines changed
src/apps/schema/src/appRevamp/components
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,11 @@ export const Field = ({
321
321
</ IconButton >
322
322
< Menu
323
323
open = { isMenuOpen }
324
- onClose = { ( ) => setAnchorEl ( null ) }
324
+ onClose = { ( e : React . MouseEvent < HTMLButtonElement > ) => {
325
+ e . stopPropagation ( ) ;
326
+
327
+ setAnchorEl ( null ) ;
328
+ } }
325
329
anchorEl = { anchorEl }
326
330
anchorOrigin = { {
327
331
vertical : "bottom" ,
Original file line number Diff line number Diff line change @@ -350,8 +350,14 @@ export const FieldList = ({ onNewFieldModalClick }: Props) => {
350
350
351
351
{ /* INACTIVE FIELDS ARE PRESENT */ }
352
352
{ Boolean ( deactivatedFields ?. length ) && ! search && (
353
- < Box mb = { 2 } mt = { 0.5 } >
354
- < Box pl = { 3 } pb = { 1.5 } >
353
+ < Box
354
+ mb = { 2 }
355
+ mt = { 0.5 }
356
+ display = "flex"
357
+ flexDirection = "column"
358
+ gap = { 1.5 }
359
+ >
360
+ < Box pl = { 3 } >
355
361
< Typography variant = "h6" mb = { 1 } >
356
362
Deactivated Fields
357
363
</ Typography >
You can’t perform that action at this time.
0 commit comments