tegel
tegel copied to clipboard
[Bug report]: Glitching on tds-popover-menu initialization
Requirements before reporting
- [X] No duplicated issue reported.
- [X] I have checked the latest version if the bug exist there. See all available packages at npmJS.com
- [X] I have followed the installation guide.
Package versions
@scania/tegel-angular": "^1.8.2"
Browser
Chrome
Framework
Angular
Version
Angular 15
Reproduction steps
refresh the page, ideally in slow 3g throttled and see the component expand, shrink and sometime disappear for a split second.
Code example
error is visible in the storybook: https://tds-storybook.tegel.scania.com/?path=/story/components-popover-menu--default&globals=backgrounds.value:!hex(F9FAFB)
Screenshots
https://scaniaazureservices.sharepoint.com/:v:/r/sites/CorporateUI/Shared%20Documents/Development%20support%20-%20Tegel/popover-glitch.mp4?csf=1&web=1&e=f38Djc
https://scaniaazureservices.sharepoint.com/:v:/r/sites/CorporateUI/Shared%20Documents/Development%20support%20-%20Tegel/popover-hidden-glitch.mp4?csf=1&web=1&e=fgl0W3
Expected behaviour
component should keep its size and opacity throughout the init
Console errors
Add warning/error message
Contact information
No response