Skip to content

fix: manage inp tbl contextmenu as custom event#2876

Merged
lucafoscili merged 1 commit into
developfrom
fix/tooltip-in-input-panel-TBL-
Jul 1, 2026
Merged

fix: manage inp tbl contextmenu as custom event#2876
lucafoscili merged 1 commit into
developfrom
fix/tooltip-in-input-panel-TBL-

Conversation

@zammarchi-smeup

Copy link
Copy Markdown
Collaborator

This pull request adds support for a new custom event, kup-inputpanel-datatable-contextmenu, to the kup-input-panel component, enabling consumers to handle context menu actions specifically triggered from the embedded kup-data-table. The implementation includes updates to both the Stencil component and its React wrapper, as well as documentation.

Event Handling Enhancements:

  • Added a new event emitter kupInputPanelDataTableContextMenu to the kup-input-panel Stencil component, which emits KupDatatableClickEventPayload when a context menu action is triggered in the internal data table. [1] [2]
  • Removed the old interactable event handler logic for context menu detection, streamlining how context menu events are handled within the component. [1] [2]

React Wrapper Updates:

  • Updated the KupInputPanelEvents type and event mapping in the React wrapper to support the new onKupInputpanelDatatableContextmenu event. [1] [2]

Documentation:

  • Added documentation for the new kup-inputpanel-datatable-contextmenu event to the component's README.

@lucafoscili lucafoscili merged commit c0acad2 into develop Jul 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants