Description
The AdaptiveService fails to emit a size change on the first maximize action performed on the browser window after initial page load. Subsequent maximize actions work correctly.
This issue is only reproducible on Windows machines.
Steps To Reproduce
- Open the following StackBlitz - https://angular-i59smklb.stackblitz.io/ (version in StackBlitz editor)
- Start the StackBlitz with a browser window width of ~700px.
- Open the console and see that the initial emitted size is "medium", which is correct.
- Click the browser maximize button for the first time, which will cause the window width to map to "large" size.
- Observe that no new value is emitted in the console.
- Click the browser restore button.
- Observe that again "medium" is emitted correctly.
- Click the browser maximize button for a second time.
- Observe that now the "large" size is detected and emitted in the console.
Screenshots or video
https://go.screenpal.com/watch/cOV3XFn31oj
Actual Behavior
The first maximize action after initial load does not emit the new size change value. All following maximize/restore sequences work as expected and emit the correct size values.
Expected Behavior
The first maximize action should emit a new value ("large") since the window width maps to the large adaptive breakpoint.
Browser
Chrome
OS type
Windows
Description
The
AdaptiveServicefails to emit a size change on the first maximize action performed on the browser window after initial page load. Subsequent maximize actions work correctly.This issue is only reproducible on Windows machines.
Steps To Reproduce
Screenshots or video
https://go.screenpal.com/watch/cOV3XFn31oj
Actual Behavior
The first maximize action after initial load does not emit the new size change value. All following maximize/restore sequences work as expected and emit the correct size values.
Expected Behavior
The first maximize action should emit a new value ("large") since the window width maps to the large adaptive breakpoint.
Browser
Chrome
OS type
Windows