Fix #117284: Get started content becomes hidden on click
This commit is contained in:
parent
6312db1e01
commit
4673316a39
1 changed files with 1 additions and 1 deletions
|
@ -225,12 +225,12 @@ export class GettingStartedPage extends EditorPane {
|
|||
node.style.height = ``;
|
||||
node.setAttribute('aria-expanded', 'false');
|
||||
});
|
||||
taskElement.style.height = `${taskElement.scrollHeight}px`;
|
||||
setTimeout(() => (taskElement as HTMLElement).focus(), delayFocus ? SLIDE_TRANSITION_TIME_MS : 0);
|
||||
if (this.editorInput.selectedTask === id && contractIfAlreadySelected) {
|
||||
this.editorInput.selectedTask = undefined;
|
||||
return;
|
||||
}
|
||||
taskElement.style.height = `${taskElement.scrollHeight}px`;
|
||||
if (!this.currentCategory || this.currentCategory.content.type !== 'items') {
|
||||
throw Error('cannot expand task for category of non items type' + this.currentCategory?.id);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue