You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I add a TabSheet component to a Dialog window, then add two tabs with FromLayout as content.
When switching tabs, the dialog window sometimes blinks (see attached video).
Screen.Recording.2024-09-05.at.17.07.04.mov
Only Google Chrome browser is affected. Cannot be reproduced in Safari Version 17.6 (19618.3.11.11.5)).
The issue appears to be similar to the one previously fixed for Board in #5005 (which was also related to toggling visibility by switching Tabs). The difference is that in case of Board it was incorrectly calculating flex-basis and in FormLayout its width set to 99.9% on every field when not visible, and then back to 49.5% when visible again (and cause jump).
Tested manually and the fix from vaadin/web-components#5840 also helps vaadin-form-layout. I'll make a PR.
Description
I add a
TabSheet
component to aDialog
window, then add two tabs withFromLayout
as content.When switching tabs, the
dialog
window sometimes blinks (see attached video).Screen.Recording.2024-09-05.at.17.07.04.mov
Only Google Chrome browser is affected. Cannot be reproduced in Safari Version 17.6 (19618.3.11.11.5)).
Expected outcome
Tabs switch without blinking
Minimal reproducible example
Steps to reproduce
Use the attached code snippet to reproduce.
Environment
Flow: 24.4.6
Vaadin: 24.4.10
Java: Amazon.com Inc. 17.0.9
OS: aarch64 Mac OS X 14.6.1
Browser: Chrome/128.0.6613.119
Browsers
Chrome
The text was updated successfully, but these errors were encountered: