mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Weird UX with d-editor
for topic templates
This commit is contained in:
parent
e2a663bff1
commit
cd1b83997b
2 changed files with 1 additions and 5 deletions
|
@ -3,10 +3,7 @@ import { buildCategoryPanel } from 'discourse/components/edit-category-panel';
|
|||
export default buildCategoryPanel('topic-template', {
|
||||
_activeTabChanged: function() {
|
||||
if (this.get('activeTab')) {
|
||||
const self = this;
|
||||
Ember.run.schedule('afterRender', function() {
|
||||
self.$('.d-editor-input').focus();
|
||||
});
|
||||
Ember.run.scheduleOnce('afterRender', () => this.$('.d-editor-input').focus());
|
||||
}
|
||||
}.observes('activeTab')
|
||||
});
|
||||
|
|
|
@ -71,7 +71,6 @@
|
|||
color: $primary;
|
||||
border: 1px dashed dark-light-diff($primary, $secondary, 90%, -60%);
|
||||
overflow: auto;
|
||||
visibility: visible;
|
||||
cursor: default;
|
||||
margin-top: 8px;
|
||||
padding: 8px 8px 0 8px;
|
||||
|
|
Loading…
Reference in a new issue