-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: exposeAsideWhen doesn't not resize the view body #4898
Comments
Thanks for the detailed explanation and screenshots, @5im0n! The problem with the previous implementation was that the resize handler was triggered too often, even when the screen dimensions did not change (such as when tapping a popover), causing the side menu to close for no reason. But looks like my commit went too far, and now the resize handler is not triggered often enough. I think the correct solution is somewhere in the middle. Here's a first pass at a fix (let me know if it resolves your issue):
|
@msalcala11 Sounds great for me 👍 Wich this solution the resize is not triggered to often but enough when |
@5im0n Glad to hear it worked for you 👍 |
Closed with #4908 merged. Thanks everyone! |
Type: bug
Platform: all
This bug is essentially linked to the commit 8187367.
When
expose-aside-when="large"
, theonResize
is trigger with the$window.matchMedia
function.However on large device (iPad, Nexus 9) the side menu is open on portrait, when we rotate the tablet in landscape, the resize function is not tigger. So a blank zone appears
In browser when we resize the windows the same problem appears.
So what is the best solutions:
@msalcala11 ?
Samples to illustrate the issue:
The text was updated successfully, but these errors were encountered: