-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Improve room leader #7578
Improve room leader #7578
Conversation
@sampaiodiego - we also noticed that the leader bar appears and disappears too abruptly when you scroll up/down. It needs to slide in/out. Should we file a different issue for this or handle here? |
cf42ea7
to
113763b
Compare
@@ -494,6 +492,13 @@ Template.room.events({ | |||
}, | |||
|
|||
'scroll .wrapper': _.throttle(function(e) { | |||
if (e.target.scrollTop < lastScrollTop) { | |||
$('.room-leader').removeClass('animated-hidden'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather have this as vanilla js than jquery
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed it to use a ReactiveVar
instead 😉
- Use i18n - Better leader user info handling - Better leader status handling - Reuse CSS for status colors - Use color classes - Animate show/hide header
113763b
to
41ada40
Compare
@RocketChat/core