We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
@Moe-Shoman figured out that this sort of thing is key to the fix:
diff --git a/src/utils/suggestions.js b/src/utils/suggestions.js index 33ade5b..ab11671 100644 --- a/src/utils/suggestions.js +++ b/src/utils/suggestions.js @@ -13,7 +13,8 @@ const sortBySuggest = (suggest1, suggest2) => { return suggest1.suggestionName.localeCompare(suggest2.suggestionName); }; -export const scrollIntoViewOptions = { behavior: 'instant', block: 'nearest' }; +export const scrollIntoViewOptions = { behavior: 'smooth', block: 'nearest' }; if (window.browser === 'Firefox') { - delete scrollIntoViewOptions.block; + // delete scrollIntoViewOptions.block; + scrollIntoViewOptions.block = 'end';
Sorry, something went wrong.
Possible solution, from @Moe-Shoman:
-export const scrollIntoViewOptions = { behavior: 'instant', block: 'nearest' }; +export const scrollIntoViewOptions = { behavior: 'smooth', block: 'nearest' };
EDIT: This change fixes the behavior in Chromium and Firefox, but breaks it within Chrome.
That is:
behavior: 'smooth'
behavior: 'instant'
Moe-Shoman
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: