Skip to content

Commit f26c8a7

Browse files
fix: Allow resize to last visible slot
Resolves issue with resizing an event to the end of the viewable TimeGrid #2147
1 parent 8e4fafa commit f26c8a7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Selection.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,16 +323,14 @@ class Selection {
323323
return this.emit('reset')
324324
}
325325

326-
if (!inRoot) {
327-
return this.emit('reset')
328-
}
329-
330326
if (click && inRoot) {
331327
return this._handleClickEvent(e)
332328
}
333329

334330
// User drag-clicked in the Selectable area
335331
if (!click) return this.emit('select', bounds)
332+
333+
return this.emit('reset')
336334
}
337335

338336
_handleClickEvent(e) {

0 commit comments

Comments
 (0)