diff --git a/src/resizer/resizer.ts b/src/resizer/resizer.ts index e430c68e17..0496615188 100644 --- a/src/resizer/resizer.ts +++ b/src/resizer/resizer.ts @@ -182,8 +182,6 @@ export default class Resizer { private getResizeHandles() { if (!this.container.children) return []; - return Array.from(this.container.children).filter(el => { - return this.isResizeHandle(el); - }) as HTMLElement[]; + return Array.from(this.container.querySelectorAll(`.${this.classNames.handle}`)) as HTMLElement[]; } }