PLT-3842 - Fixing scrolling issue on account/team settings modal (#3819)
Этот коммит содержится в:
коммит произвёл
enahum
родитель
efb060a336
Коммит
e5a3e55737
@@ -126,7 +126,9 @@ export default class AdvancedSettingsDisplay extends React.Component {
|
||||
}
|
||||
|
||||
updateSection(section) {
|
||||
$('.settings-modal .modal-body').scrollTop(0).perfectScrollbar('update');
|
||||
if ($('.section-max').length) {
|
||||
$('.settings-modal .modal-body').scrollTop(0).perfectScrollbar('update');
|
||||
}
|
||||
if (!section) {
|
||||
this.setState(this.getStateFromStores());
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user