Skip to content

Commit

Permalink
fix: updateSelector's update #1055
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Dec 2, 2023
1 parent f4e3232 commit fc9da03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-moveable/src/InitialMoveable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export class InitialMoveable<T = {}>
public updateSelectors() {
this.selectorMap = {};
this._updateRefs();
this.forceUpdate();
}
/**
* User changes target and waits for target to change.
Expand Down

0 comments on commit fc9da03

Please sign in to comment.