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

[FlexibleColumnLayout]: End column hidden class lost when parent component changes AnimationMode during rendering

Open quinn-zhang-sap opened this issue 6 months ago • 3 comments

Bug Description

The hidden class of end column lost !!! If the parent component changes the value of AnimationMode during rendering, especially from "none" to "full": the end column is initially hidden correctly, but after changing the AnimationMode value, the end column may become visible. In the old version (like 2.8.0), an eventListener is always added regardless of the AnimationMode value, but in the new version (like 2.10.0), the eventListener is only added when there is animation. When AnimationMode is switched, since both currentlyHidden and previouslyHidden for the end column are true, the method to add the end-column hidden class may be skipped.

Affected Component

No response

Expected Behaviour

No response

Isolated Example

github-wfbsk6wq

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.10.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

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

quinn-zhang-sap avatar Jun 10 '25 09:06 quinn-zhang-sap

Hello @quinn-zhang-sap ,

Please clarify in more detail what the exact issue is and isolate a sample where it is reproducible. You can use any platform like StackBlitz or similar, or use the playground.

Kind regards, 

Georgi

SAP Development Support

Valkanister avatar Jun 10 '25 10:06 Valkanister

Hello @Valkanister, I have already written a sample using StackBlitz https://stackblitz.com/edit/github-wfbsk6wq. Is it accessible? As it shows, when changing AnimationMode from "none" to "full" during the FlexibleColumnLayout rendering, the end column unexpectedly appears. But the layout of FlexibleColumnLayout is "TwoColumnMidExpanded", which means there should be only two columns visible. Best regards, Quinn Zhang

quinn-zhang-sap avatar Jun 11 '25 01:06 quinn-zhang-sap

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

Please have a look at this issue with the FCL. While loading the animation mode is changed which causes a problem.

Kind regards, 

Georgi

SAP Development Support

Valkanister avatar Jun 11 '25 11:06 Valkanister

This issue has been closed. To reopen, just leave a comment!

github-actions[bot] avatar Jul 03 '25 10:07 github-actions[bot]

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

The release is available on v2.12.0

Your semantic-release bot :package::rocket:

ui5-webcomponents-bot avatar Jul 04 '25 09:07 ui5-webcomponents-bot