File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ function ButtonWithDropdownMenu<IValueType>({
5151 secondLineText = '' ,
5252 icon,
5353 shouldUseModalPaddingStyle = true ,
54- shouldHandleNavigationBack = true ,
5554} : ButtonWithDropdownMenuProps < IValueType > ) {
5655 const theme = useTheme ( ) ;
5756 const styles = useThemeStyles ( ) ;
@@ -224,7 +223,7 @@ function ButtonWithDropdownMenu<IValueType>({
224223 setIsMenuVisible ( false ) ;
225224 onOptionsMenuHide ?.( ) ;
226225 } }
227- shouldHandleNavigationBack = { shouldHandleNavigationBack }
226+ shouldHandleNavigationBack
228227 onModalShow = { onOptionsMenuShow }
229228 onItemSelected = { ( selectedSubitem , index , event ) => {
230229 onSubItemSelected ?.( selectedSubitem , index , event ) ;
Original file line number Diff line number Diff line change @@ -142,9 +142,6 @@ type ButtonWithDropdownMenuProps<TValueType> = {
142142
143143 /** Whether to use modal padding style for the popover menu */
144144 shouldUseModalPaddingStyle ?: boolean ;
145-
146- /** Whether handle navigation back when modal show. */
147- shouldHandleNavigationBack ?: boolean ;
148145} ;
149146
150147export type {
You can’t perform that action at this time.
0 commit comments