LearnNewsExamplesServices
Frontmatter
id6296
titlecomponent.Base: waitForDomRect()
stateClosed
labels
enhancement
assigneestobiu
createdAtJan 25, 2025, 11:26 PM
updatedAtJan 25, 2025, 11:28 PM
githubUrlhttps://github.com/neomjs/neo/issues/6296
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 25, 2025, 11:28 PM

component.Base: waitForDomRect()

Closed v8.9.1 enhancement
tobiu
tobiu commented on Jan 25, 2025, 11:26 PM

There are still edge cases where a dialog does not show up properly:

Image

  • Especially after a await render(true) call, a DOMRect might not have been layouted properly yet
  • We do not want to add big delays for envs where they are not needed
  • So, we need a generic solution to wait for a DOMRect being sized "soon"
tobiu added the enhancement label on Jan 25, 2025, 11:26 PM
tobiu assigned to @tobiu on Jan 25, 2025, 11:26 PM
tobiu referenced in commit 9b783da - "component.Base: waitForDomRect() #6296" on Jan 25, 2025, 11:28 PM
tobiu closed this issue on Jan 25, 2025, 11:28 PM