Property Pane Scroll Bar Bug when disableReactivePropertyChanges() is "true"
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
To see and be able to interact with all property pane controls when the pane is open, regardless of:
- the number of properties in the pane
- the state of disableReactivePropertyChanges()
- the screen resolution of the user's browser
Observed Behavior
When disableReactivePropertyChanges() returns false, the scroll bar and display work as expected:
When disableReactivePropertyChanges() returns true, the last fields in the pane are (partially or completely) not visible or accessible to the user (that is, using the scroll bar does not expose them, they are hidden behind the "Apply" button):
If I zoom out using the browser (Chrome) to about 67% (the point at which the property pane no longer needs the scroll bar), you can see that all of the controls are actually there and are now available to be used:
Steps to Reproduce
- Create a new web part project
- Add a large number of properties to the properties pane, enough so that displaying them all will require the property pane to scroll
- Add the following code to your web part:
protected get disableReactivePropertyChanges(): boolean { return true; } - Test the web part in the SharePoint Workbench
We are having the same issue.
We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”
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