Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

QMAPS-2785 mobile throttling #1381

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Conversation

xem
Copy link
Contributor

@xem xem commented Jul 25, 2022

Description

NB: this is a temp fix, to be replaced with a global click state store that will do the right thing instead of depending on onBlur.

Set a 300ms blur timeout on mobile on the suggest. Keep 150ms on desktop.
300ms is the click / blur registration time on many mobile browsers, so it should be fine.
I couldn't test this fix on PC because the bug is never present on PC even in mobile mode + CPU throttling,
so let's deploy it in dev and test on real mobile?

@xem xem requested a review from pascaloliv July 25, 2022 13:36
@pascaloliv pascaloliv merged commit 70d7da1 into master Jul 26, 2022
@pascaloliv pascaloliv deleted the QMAPS-2785-throttling-mobile branch July 26, 2022 14:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants