diff --git a/packages/main/src/components/ObjectPage/types/index.ts b/packages/main/src/components/ObjectPage/types/index.ts index 010c016e9a7..6977d239605 100644 --- a/packages/main/src/components/ObjectPage/types/index.ts +++ b/packages/main/src/components/ObjectPage/types/index.ts @@ -120,9 +120,9 @@ export interface ObjectPagePropTypes extends Omit { */ placeholder?: ReactNode; /** - * The event is fired before the selected section is changed using the navigation. It can be aborted by the application with `preventDefault()`, which means that there will be no navigation. + * Fired when a section is selected via the tab bar, before navigation occurs. To cancel navigation, call `event.preventDefault()` within the event handler. * - * __Note:__ This event is only fired when navigating via tab-bar. + * __Note:__ This event is fired every time a user selects a section, even if the section is already selected. */ onBeforeNavigate?: (event: Ui5CustomEvent) => void; /**