survey-library icon indicating copy to clipboard operation
survey-library copied to clipboard

BC break between 1.9.27 & 1.9.29 - TypeError: this.popup.unmountPopupContainer is not a function

Open vitexikora opened this issue 2 years ago • 1 comments

Are you requesting a feature, reporting a bug or asking a question?

Semver violation, and warning to other users, that may encounter it.

What is the current behavior?

[email protected] does not work with [email protected] function destroyPopupContainer was renamed to unmountPopupContainer

This had heavily broke several our apps on production, since installation of [email protected] (with a fixed version like this) installed an incompatible version of survey-react-ui.

What is the expected behavior?

Following semver in case of a BC break.

How would you reproduce the current behavior (if this is a bug)?

npm i [email protected] [email protected] [email protected] [email protected] and try to work with them. It crashes upon adding new elements in the creator.

vitexikora avatar May 12 '22 13:05 vitexikora

@vitexikora You don't need "survey-react" package. You shold use "suvey-react-ui" in your case. You currently have two instances of react survey libraries in your app.

Thank, Andrew

andrewtelnov avatar May 12 '22 13:05 andrewtelnov