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

Cannot register ResizeHandler for element <ui5-segmented-button>

Open sltu opened this issue 2 years ago • 3 comments

Bug Description

I get many "Cannot register ResizeHandler for element" warnings for: <ui5-segmented-button>

image

I use <ui5-segmented-button> inside <ui5-table-cell>

image

In my implementation <ui5-segmented-button> component is inside my own component <r-order-buttons> and this component is inside <ui5-table-cell>

image

Expected Behavior

A way to get rid of these warnings

Context

  • UI5 Web Components version: 1.9.1
  • OS/Platform: Linux/Ubuntu 22.10
  • Browser: Chrome, Firefox (the latest)
  • Affected component:

Priority

  • [x] Low
  • [ ] Medium
  • [ ] High
  • [ ] Very High

sltu avatar Jan 03 '23 09:01 sltu

@sltu hi, can you provide isolated code example where you reproduce this this warning.

mindarelus avatar Jan 03 '23 12:01 mindarelus

I hope, codesandbox with my example will work for you https://codesandbox.io/s/ui5-webcomponents-forked-e2o2uu?file=/src/order-buttons.js

image

chrome image

firefox image

sltu avatar Jan 03 '23 14:01 sltu

Hi @sltu ,

I used your sample and the error is present in version 1.9. I tried and updated the version to latest (v1.24.0) and the reported warning message is no longer here.

Could you please check if updating the ui5-webcomponents version to latest resolves the problem for you ? sample with updated version

Best Regards, Stoyan

hinzzx avatar May 07 '24 07:05 hinzzx

Hello, everyone! The issue has been inactive for 21 days. If there are still questions or comments, please feel free to continue the discussion. Inactive issues will be closed after 7 days!

github-actions[bot] avatar May 29 '24 00:05 github-actions[bot]

Hello, everyone! The issue has been inactive for 28 days, so I am closing the issue.

github-actions[bot] avatar Jun 06 '24 00:06 github-actions[bot]