Skip to content

Commit 1abb209

Browse files
chore: update comment
1 parent f06e757 commit 1abb209

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/Modal/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ type BaseModalProps = Partial<ReanimatedModalProps> &
126126
shouldDisplayBelowModals?: boolean;
127127

128128
/**
129-
* Whether a RIGHT_DOCKED modal should keep its backdrop when rendered in a narrow pane context.
129+
* Whether a RIGHT_DOCKED modal should keep its backdrop when it opens inside a narrow-pane RIGHT_DOCKED flow on larger screens.
130+
* Set this to true for nested flows, such as inline date editing launching the Month/Year picker RHP, where the underlying pane should stay dimmed.
131+
* Leave it false for the default same-width RHP case, where keeping the backdrop would create a double backdrop.
130132
* See https://github.com/Expensify/App/issues/88645 for more details.
131133
*/
132134
shouldKeepRightDockedBackdropInNarrowPane?: boolean;

0 commit comments

Comments
 (0)