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

Prevent request action modals from closing upon regaining focus #2064

Merged
merged 2 commits into from
Jan 31, 2020

Conversation

WH77
Copy link
Contributor

@WH77 WH77 commented Jan 29, 2020

Fixes a bug introduced by #2060, which caused all action modals to close when a user regained focus on the request detail page. TLDR - the shuffle opt out status for a request should only be fetched on initialization of the details page, not as part of the existing refresh process, to avoid forcing reconstruction (which resets modal visibility) of the request action buttons and their child modals.

cc - @ssalinas

@ssalinas
Copy link
Member

Thanks for the follow up PR. Let's test in staging/qa 👍

@ssalinas
Copy link
Member

🚢

@WH77 WH77 added the hs_stable label Jan 30, 2020
@WH77 WH77 merged commit bb4d68f into master Jan 31, 2020
@WH77 WH77 deleted the run-now-modal-focus branch January 31, 2020 14:15
@ssalinas ssalinas added this to the 1.2.0 milestone Feb 3, 2020
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.

2 participants