LearnNewsExamplesServices
Frontmatter
id6598
titlecalendar.view.week.plugin.EventResizable: onMouseMove() => simplify the check condition
stateClosed
labels
enhancement
assignees[]
createdAtMar 30, 2025, 8:46 PM
updatedAtMar 30, 2025, 8:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/6598
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 30, 2025, 8:47 PM

calendar.view.week.plugin.EventResizable: onMouseMove() => simplify the check condition

Closed v8.35.1 enhancement
tobiu
tobiu commented on Mar 30, 2025, 8:46 PM
if (this.owner.data.events.enableDrag) {

is actually expensive, since it will trigger getHierarchyData() inside state.Provider. We have the config mapped into calendar.view.week.Component, so a direct check makes sense.

related to: https://github.com/neomjs/neo/issues/6597

tobiu added the enhancement label on Mar 30, 2025, 8:46 PM
tobiu referenced in commit d7b47de - "calendar.view.week.plugin.EventResizable: onMouseMove() => simplify the check condition #6598" on Mar 30, 2025, 8:47 PM
tobiu closed this issue on Mar 30, 2025, 8:47 PM