67P / hyperchannel

Kosmos Chat for the Web
Mozilla Public License 2.0
20 stars 3 forks source link

Possible to not destroy channel components? #144

Closed raucao closed 5 years ago

raucao commented 6 years ago

It's a bit of a performance issue to destroy the channels when switching between them, and re-populate all messages when switching to one. Also, there's currently a scroll animation, which would make fast-cycling through channels pretty annoying (and I'm not sure loading the messages and then jumping down is much better).

Is there any chance we can keep channel content/markup loaded, until one closes the tab or leaves a channel?

galfert commented 6 years ago

Just from my current knowledge I would say it's not possible. But I'll do some research to find out if there is any way.

raucao commented 6 years ago

It's of course possible, if we don't instantiate a component per channel, but keep the markup around and just show/hide via CSS or JS. Question is what the best and most efficient way would be.

raucao commented 5 years ago

Duplicate of #92