Frontmatter
| id | 1527 |
| title | SharedDialog.view.MainContainerController: switchThemeForApp() => use the doc.body |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Mar 10, 2021, 1:00 PM |
| updatedAt | Mar 10, 2021, 1:00 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1527 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 10, 2021, 1:00 PM |
rather than applying the new theme to the main div node of each app, we should add it to the document body instead.
the reason is that the divs needed for dialog show & hide animations get directly added to the document.body. so, changing the theme on a div on the same DOM tree level won't affect them.