Skip to content

Commit

Permalink
Remove reactivity in react on "css*" properties
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Dec 19, 2024
1 parent dc0ed36 commit a25f1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/survey-react-ui/src/reactquestion_element.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class SurveyElementBase<P, S> extends React.Component<P, S> {
};
}
protected canUsePropInState(key: string): boolean {
return true;
return !key.startsWith("css");
}
private unMakeBaseElementReact(stateElement: Base) {
if (!this.canMakeReact(stateElement)) return;
Expand Down

0 comments on commit a25f1e5

Please sign in to comment.