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

RDX: Don't reload extension on window resize #7761

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Nov 12, 2024

We triggered extension navigation on the window resize listener; this meant we kept reloading the page for no reason. Only do that if the desired page does not match the last loaded page.

Fixes #7651

@gunamata gunamata self-requested a review November 13, 2024 17:53
We triggered extension navigation on the window resize listener; this meant
we kept reloading the page for no reason.  Only do that if the desired
page does not match the last loaded page.

Signed-off-by: Mark Yen <[email protected]>
Copy link
Contributor

@gunamata gunamata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Works as expected. Thanks.

@mook-as mook-as merged commit b162343 into rancher-sandbox:main Nov 14, 2024
20 checks passed
@mook-as mook-as deleted the rdx/no-reload-on-resize branch November 14, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resizing the app will restart the extension
2 participants