You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theObjectPage
component is only triggered when the selected section is changed (switching tabs).The
onClick
event of theObjectPage
component does not work when clicking on a tab.The
onClick
event of theObjectPageSection
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 theObjectPage
component be triggered when clicking on a tab, so that we could access the clicked tab by theevent.target
field.Additional Context
Would be great if this is available on v1.28+.
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: