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
3.6.0 smooth scrolling with hotkey is not smooth #1087
Comments
It is indeed choppy with Chrome, thanks for reporting the issue. I'll see what I can do. |
…causes lagging issues and was fixed in mantinedev/mantine#3351 (#1087)
Could you try with this change please? It seems to help. |
It's better for sure! I had 1 bit of choppiness but that could be my Chrome. I'll have to give it some more testing throughout the day. Another question for you with the hotkey scrolling. Would it be possible to always scroll the next article to the top even if it fits within the view? For example in this screenshot, I hit |
Sure, could you open another issue though please? |
Sure thing - #1088 , thanks again! |
Compared to 2.0, I'm still having a bit choppy with CommaFeed version 3.7.0 (7c226f4). Could it be the speed it's scrolling? Is there an option to adjust scroll speed? |
I profiled the app in Chrome and made some changes. |
so far so good! the only thing now is there's a delay (maybe 750ms?) from the keypress to the scroll event. |
I made more changes to help with the initial lag. |
It's getting better! Compared to 2.0, still a bit slow but making progress to make it feel less laggy |
I am also curious about this. I would prefer to have no animation at all, and immediately cut to the next entry. In if (arg.scrollToEntry) {
const entryElement = document.getElementById(Constants.dom.entryId(entry))
if (entryElement) {
const alwaysScrollToEntry = state.user.settings?.alwaysScrollToEntry
const entryEntirelyVisible = Constants.layout.isTopVisible(entryElement) && Constants.layout.isBottomVisible(entryElement)
if (alwaysScrollToEntry || !entryEntirelyVisible) {
const scrollSpeed = state.user.settings?.scrollSpeed
thunkApi.dispatch(entriesSlice.actions.setScrollingToEntry(true))
scrollToEntry(entryElement, scrollSpeed, () => thunkApi.dispatch(entriesSlice.actions.setScrollingToEntry(false)))
}
}
} Can I set Thanks for any info! |
🤦 @Athou thanks so much, I swear I looked through the settings a billion times but somehow never noticed those. |
I am a long time user of self-hosted Commafeed 2.6.0 and I'm testing out 3.6.0 and the smooth scrolling is not smooth when using a hotkey. It's pretty choppy.
I noticed it happens more when there are a lot of unread articles. Right now I have 120 unread articles, and pressing the J or N hotkey results in a choppy scroll experience. In 2.6.0 this was very smooth so I thought I'd report it.
The text was updated successfully, but these errors were encountered: