Skip to content

fix(ui5-flexible-column-layout): correct columns display #3444

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

Merged
merged 3 commits into from
Jun 25, 2021
Merged

fix(ui5-flexible-column-layout): correct columns display #3444

merged 3 commits into from
Jun 25, 2021

Conversation

nnaydenow
Copy link
Contributor

Sometimes timeout that adds ui5-fcl-column--hidden is executed when the calculations are already done. Executing the timeout callback later causes visual issue where column is hidden when it should be displayed.

Now, timeout is replace with listener for transionend so if it is no longer needed to be removed.

Fixes: #3425

@nnaydenow nnaydenow requested a review from ilhan007 June 17, 2021 15:26
Copy link
Contributor

@fifoosid fifoosid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should remove the eventListener in onExitDOM as well in order to prevent memory leak

@nnaydenow nnaydenow requested a review from fifoosid June 18, 2021 09:10
@ilhan007 ilhan007 closed this Jun 18, 2021
@ilhan007 ilhan007 reopened this Jun 18, 2021
Copy link
Contributor

@fifoosid fifoosid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for review from @SAP/ui5-webcomponents-topic-p and we can merge it

@fifoosid fifoosid requested a review from a team June 22, 2021 08:41
@nnaydenow
Copy link
Contributor Author

Hi @dobrinyonkov,

Could you take a look at the PR?

@nnaydenow nnaydenow merged commit 62977d0 into SAP:master Jun 25, 2021
@nnaydenow nnaydenow deleted the fcl-columns branch June 25, 2021 10:11
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.

FlexibleColumnLayout: Does not render properly in TwoColumnsMidExpanded layout after a condition
4 participants