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

fix(atomic): fix issue with changing panels while results load #2060

Conversation

liviarett
Copy link
Contributor

I finally managed to reproduce a issue I saw every once in a while - when we change the panel in focus before the elements are updated, it breaks like so:
https://user-images.githubusercontent.com/30511433/172345709-eff01237-1ded-4162-ae92-f0c0b0029cb4.mov

Now, keeping track of the element that triggered the change, we can make sure that we don't update the wrong panel:
https://user-images.githubusercontent.com/30511433/172345889-0f89aacc-f8f1-4000-9325-cd83c97d2b9b.mov

I also took the opportunity to fix a little difference in behaviour between mouse and keyboard focus (before, it lost track of the previous element on mouse over)
https://user-images.githubusercontent.com/30511433/172346033-3decc9a0-63a7-4ed1-ad07-c4d4cc856569.mov

@github-actions
Copy link

github-actions bot commented Jun 7, 2022

Thanks for your contribution @liviarett !
When your pull-request is ready to be merged, check the box below to merge it

  • Merge! :shipit:

@github-actions
Copy link

github-actions bot commented Jun 7, 2022

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 200.8 200.8 0
search 292.3 292.3 0
insight 189.6 189.6 0
product-listing 213.8 213.8 0
product-recommendation 197.1 197.1 0
recommendation 195.9 195.9 0

@liviarett liviarett requested a review from btaillon-coveo June 8, 2022 13:35
@liviarett liviarett requested a review from a team as a code owner June 8, 2022 14:13
@liviarett liviarett merged commit d10a8e9 into master Jun 8, 2022
@liviarett liviarett deleted the KIT-1713-atomic-fix-issue-with-changing-panels-while-results-load branch June 8, 2022 18:17
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.

4 participants