Better HN
topnewbestaskshowjobs
Log inSign up

editkid

11 karma · joined Aug 26, 2020 (6y ago) · 6 submissions

Submissions

comment 5y ago · link · parent

Yeah, that's clever indeed.

comment 5y ago · link · parent

The psychology of these versus, for example, an infinite spinner strikes me as interesting. The loading bar, even though it's fake, has an end and makes it feel like you're getting closer to the wait being over.

Works for me.

comment 6y ago · link · parent

Here is the related bug report. It's quite a specific case, so not simply triggered by using "transition: all" in isolation.

https://bugs.webkit.org/show_bug.cgi?id=202467

comment 6y ago · link · parent

Hello! Thanks for having a fossick through our code ;) Happy to report that the issue has now been resolved. I've added a post explaining the underlying cause a little up in the thread. (I'm not sure how notifications work on HN, so figured I'd drop a reply here, too).

comment 6y ago · link · parent

Hello! I'm a developer for Klim. Thanks for prompting us to look at this CPU usage issue. I'm happy to say that it has now been resolved.

For those interested in the underlying cause, it seems to have been a bug in Safari. The following CSS triggered infinite repaints:

  transition: all;
The solution was to simply be more specific:

  transition: background-color;