LearnNewsExamplesServices
Frontmatter
id4607
titlebutton.Base: menu config => render the menu off screen initially
stateClosed
labels
enhancement
assigneestobiu
createdAtJul 31, 2023, 2:39 PM
updatedAtJul 31, 2023, 4:22 PM
githubUrlhttps://github.com/neomjs/neo/issues/4607
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJul 31, 2023, 4:22 PM

button.Base: menu config => render the menu off screen initially

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jul 31, 2023, 2:39 PM

the initial rendering will not have the correct position, since we need the painted menu width to calculate it.

since the repositioning can happen inside the next rendering frame, we should move menus outside the visible area, to avoid a "jumping" effect.

tobiu added the enhancement label on Jul 31, 2023, 2:39 PM
tobiu assigned to @tobiu on Jul 31, 2023, 2:39 PM
tobiu referenced in commit 34e38a6 - "button.Base: menu config => render the menu off screen initially #4607" on Jul 31, 2023, 4:21 PM
tobiu closed this issue on Jul 31, 2023, 4:22 PM