Skip to content

[Panel]: Raise error sometimes #11556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
wilson-xu-sap opened this issue May 21, 2025 · 7 comments · May be fixed by #11563
Open
1 task done

[Panel]: Raise error sometimes #11556

wilson-xu-sap opened this issue May 21, 2025 · 7 comments · May be fixed by #11563
Assignees
Labels

Comments

@wilson-xu-sap
Copy link

Describe the bug

Image

Isolated Example

https://sap.github.io/ui5-webcomponents-react/v2/?path=/story/layouts-floorplans-panel--with-custom-header

Reproduction steps

Randomly click the collapse button

Expected Behaviour

No response

Screenshots or Videos

No response

UI5 Web Components for React Version

2.10

UI5 Web Components Version

2.10

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@wilson-xu-sap
Copy link
Author

Screen.Recording.2025-05-21.at.10.31.16.mov

@Lukas742
Copy link
Collaborator

Lukas742 commented May 21, 2025

Hi @wilson-xu-sap

I wasn't able to reproduce this error. Could you please add an isolated example, preferably by using this StackBlitz template. Please also include the version of the browser and the OS where this error is occurring in.

@wilson-xu-sap
Copy link
Author

Hi @Lukas742 This is not easy to reproduce, as I mention in the content, you need to click the button randomly and repetitively. Sometimes it fails at first time, sometimes it never fails.
You can check the recording I have provided, it is not reproducible until I click it three times.

macos version: 15.4.1
chrome version: 136.0.7103.114

@Lukas742
Copy link
Collaborator

Lukas742 commented May 21, 2025

@wilson-xu-sap I clicked multiple times, with different intervals, but no error is thrown for me. (Tested in Chrome and Safari)

Edit: I got it. When clicking close to the border of the button, the error is thrown.

@Lukas742
Copy link
Collaborator

Lukas742 commented May 21, 2025

@wilson-xu-sap I'll forward this issue to the ui5-webcomponents repo, as the component is developed there.


Hi Colleagues,

when clicking close to the border of the button that is rendered if a custom header is used, an error is thrown. The issue can be observed in your playground example:

2025-05-21_08-45-16.mp4

It seems that a CustomEvent is expected there, but the native PointerEvent is called.

@Lukas742 Lukas742 transferred this issue from SAP/ui5-webcomponents-react May 21, 2025
@wilson-xu-sap
Copy link
Author

@Lukas742 Thanks for your carefulness and patience!

@nnaydenow
Copy link
Contributor

Hello @SAP/ui5-webcomponents-topic-b,

Could you please take a look at that issue?

I think it's related to change introduced with: #11318

The issue is reproducible when the click occurs over the border of the component.

Regards,
Nayden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: New Issues
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

3 participants