Fixing scrolling of mention box in RHS
Этот коммит содержится в:
@@ -21,7 +21,9 @@ module.exports = React.createClass({
|
|||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
$('.post-right__scroll').scroll(function(){
|
$('.post-right__scroll').scroll(function(){
|
||||||
self.forceUpdate();
|
if($('.mentions--top').length){
|
||||||
|
$('#reply_mention_tab .mentions--top').css({ bottom: $(window).height() - $('.post-right__scroll #reply_textbox').offset().top });
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('body').on('keydown.mentionlist', '#'+this.props.id,
|
$('body').on('keydown.mentionlist', '#'+this.props.id,
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user