Skip to content
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

Resizer triggers on size 0 or display:none #5774

Closed
1 of 4 tasks
veith opened this issue Sep 2, 2022 · 4 comments
Closed
1 of 4 tasks

Resizer triggers on size 0 or display:none #5774

veith opened this issue Sep 2, 2022 · 4 comments
Assignees
Labels
bug This issue is a bug in the code Low Prio TOPIC Core

Comments

@veith
Copy link

veith commented Sep 2, 2022

Bug Description

When a parent element switches to invisible or size 0, the UI5 Components which are using the Resizer switches to size="S".
This causes a "flickering" because the paddings or margins changes from the "S" values to the "M" values after the delay.

Expected Behavior

Keep the last size state (or do nothing), when switching to zero or invisible.

Steps to Reproduce

  1. Click hide
  2. Click show

Isolated Example

If possible, please provide an isolated example by forking CodeSandbox.

Context

  • UI5 Web Components version: 1.6.0
  • OS/Platform: MacOs
  • Browser: Chrome, FF, Safari
  • Affected component: Bar.js, DynamicSideContent.js, FlexibleColumnLayout.js, IllustratedMessage.js, MediaGallery.js, NotificationListItem.js, Page.js, ProductSwitch.js, ShellBar.js and maybe more

Priority

  • Low

  • Medium

  • High

  • Very High

  • Business impact: None

@ndeshev
Copy link
Contributor

ndeshev commented Sep 2, 2022

Hello @veith could you please check your example it seems that there is something missing because when I click show/hide buttons nothing happens.

@ndeshev ndeshev added author action information required Further information is requested Low Prio labels Sep 2, 2022
@veith
Copy link
Author

veith commented Sep 3, 2022

@ndeshev The example is updated now.

Sorry, i did not save the example correctly.

@LidiyaGeorgieva LidiyaGeorgieva added bug This issue is a bug in the code TOPIC Core and removed information required Further information is requested author action labels Sep 5, 2022
@LidiyaGeorgieva
Copy link
Contributor

Hello @SAP/ui5-webcomponents-team please have a look.

@nnaydenow
Copy link
Contributor

Hi @veith,

I create a separate issue where you can check the progress #7666

Thanks,
Nayden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Low Prio TOPIC Core
Projects
Status: Completed
Development

No branches or pull requests

4 participants