Description
Is your feature request related to a problem?
Currently (afaik) it's not possible to detect when clicking on a tab header (title of a page section).
The onSelectedSectionChange
event of the ObjectPage
component is only triggered when the selected section is changed (switching tabs).
The onClick
event of the ObjectPage
component does not work when clicking on a tab.
The onClick
event of the ObjectPageSection
subcomponent is only triggered when clicking on the content of the page section.
Describe the solution you'd like
My suggestion is that an onSectionHeaderClick
event is exposed through a property of the ObjectPageSection subcomponent. This event would be triggered everytime when clicking on the tab of the section.
Describe alternatives you've considered
Another way is to make the onClick
event of the ObjectPage
component be triggered when clicking on a tab, so that we could access the clicked tab by the event.target
field.
Additional Context
Would be great if this is available on v1.28+.
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Type
Projects
Status