---
id: 4968
title: 'examples.dialog.DemoDialog: display additional dialogs with a random offset'
state: CLOSED
labels:
  - enhancement
assignees:
  - tobiu
createdAt: '2023-10-04T09:51:12Z'
updatedAt: '2023-10-04T09:51:42Z'
githubUrl: 'https://github.com/neomjs/neo/issues/4968'
author: tobiu
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2023-10-04T09:51:42Z'
---
# examples.dialog.DemoDialog: display additional dialogs with a random offset

We want new dialogs to have a random left & top offset between -100px & 100px, to ensure they are not at the exact same position.

## Timeline

- 2023-10-04T09:51:12Z @tobiu added the `enhancement` label
- 2023-10-04T09:51:12Z @tobiu assigned to @tobiu
- 2023-10-04T09:51:42Z @tobiu closed this issue
- 2023-10-04T09:53:10Z @tobiu referenced in commit `a9d4676` - "examples.dialog.DemoDialog: display additional dialogs with a random offset #4968"
- 2023-10-04T11:16:36Z @tobiu referenced in commit `b2434fb` - "v6.7.6 (#4970)

* main.DomAccess: doc comments, method order

* dialog.Base: showing a dialog with out an animateTargetId breaks #4963

* examples.dialog.DemoDialog: modal state for child dialogs #4964

* #4964 examples.dialog.MainContainer: pass changes of the modal checkbox to the dialog instance

* examples.dialog.MainContainer: animated checkbox #4965

* dialog.Base: close button throws an error, in case there is no animateTargetId #4966

* examples.dialog.DemoDialog: polishing

* covid tables: replacing the deprecated getView() with view

* dialog.Base: dragproxy regression issue #4967

* examples.dialog.DemoDialog: display additional dialogs with a random offset #4968

* worker.App: webpack magic comments #4969

* v6.7.6"

