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 force scrolling to the top repeatedly when use 'Always use "Follwing" Tab' #213

Closed
wants to merge 1 commit into from

Conversation

mactkg
Copy link

@mactkg mactkg commented Aug 7, 2024

The original implementation uses the literal "following" string to detect the "Following" tab, but the string is localized to some strings in a non-English locale.
For instance, the "Following" tab is localized to "フォロー中" in Japanese locale.

Image from Gyazo

In this PR, use localized "following" text from DOM to check "following" tab is selected.

fix #209, #206

…wing" Tab' is enabled in non-English locale

The original implementation uses the string literal "following" to detect the "Following" tab,
but the string is localized to some strings in a non-English locale.

In this commit, use localized "following" text from DOM to
check "following" tab is selected.

fix typefully#209, typefully#206
@linuz90
Copy link
Contributor

linuz90 commented Oct 7, 2024

Thanks for this @mactkg, I don't have this problem having X in English but the change makes sense to me. I'll implement this myself for the next update with a small tweak.

@linuz90 linuz90 closed this Oct 7, 2024
@mactkg
Copy link
Author

mactkg commented Oct 8, 2024

Thanks for your review. I'm look forward to fix this issue!

@mactkg
Copy link
Author

mactkg commented Oct 8, 2024

Agh, already fixed :D

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.

scroll bar error?
2 participants