sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Support "disableReactivePropertyChanges" at the page level

Open paulryan opened this issue 10 years ago • 4 comments

Category

[ x] Enhancement / Suggestion

Expected or Desired Behavior

I'd like to be able to set "disableReactivePropertyChanges" at the page level.

I have an app where I have page of properties which need to be non-reactive as they trigger fetching and processing data, and then a second page of visual properties which would really benefit from the reactive model.

Observed Behavior

The entire properties panel must either be reactive or non-reactive.

paulryan avatar Sep 09 '16 12:09 paulryan

@paulryan, we believe this can cause some confusion with the user experience. As the user sees different behaviors on different PropertyPane pages. We have already gone through a few iterations and user stuies with this design and this one seemed to be simple enough for the users.

You can achieve what you want with rendering different pages in different states of the web part. And disableReactivePropertyChanges can be derived from a private field in the web part whose value can change in different states of the web part. But please remember, even though this is doable it could cause potential confusion with the end users.

manishgarg1 avatar Sep 09 '16 16:09 manishgarg1

Sure, I can appreciate how this could create an awkward UX.

paulryan avatar Sep 09 '16 16:09 paulryan

Hi @paulryan, after some more discussion we have decided that this feature could perhaps cause more confusion than simplify things. Hence, we will not be supporting this at the current time. Please reopen the issue if you really feel that we need to support this.

manishgarg1 avatar Jan 29 '17 18:01 manishgarg1

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 30 '20 06:01 msft-github-bot