ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[ToolbarButton]: `getDomRef` returns `undefined`

Open Lukas742 opened this issue 1 year ago • 1 comments

Bug Description

When calling getDomRef() on a ui5-toolbar-button it always returns undefined.

This is a followup issue to this one: https://github.com/SAP/ui5-webcomponents/issues/9997

Affected Component

ToolbarButton

Expected Behaviour

It should return the DOM reference to the ui5-button inside the shadow root of the ui5-toolbar, as the ToolbarButton is an abstract component.

Isolated Example

https://stackblitz.com/edit/github-k8annj?file=index.html,package.json,main.js

Steps to Reproduce

  1. Got to StackBlitz
  2. Open dev tools
  3. Press Log getDomRef button
  4. See undefined in the console

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.3.0

Browser

Chrome, Edge, Firefox, Safari

Operating System

No response

Additional Context

No response

Organization

UI5WCR

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

Lukas742 avatar Oct 09 '24 09:10 Lukas742

Hello @ui5-webcomponents-topic-p,

The reported issue is reproducible, that's why I am forwarding this issue to you to take care of it.

Best Regards, Nikolay Hristov

NHristov-sap avatar Oct 11 '24 09:10 NHristov-sap

:tada: This issue has been resolved in version v2.4.0 :tada:

The release is available on v2.4.0

Your semantic-release bot :package::rocket:

ui5-webcomponents-bot avatar Nov 03 '24 14:11 ui5-webcomponents-bot