sp-dev-docs
sp-dev-docs copied to clipboard
PropertyPaneToggle styles. When button toggled on - circle is on the left
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
Toggle button circle should be placed on the right side of the button
Observed Behavior
After a click on the toggle button, the button changes colour but the circle doesn't move.

Steps to Reproduce
- Add a new property to web part (manifest & properties interface),
- Add PropertyPane field in getPropertyPaneConfiguration() method. Example:
PropertyPaneToggle('test', { label: 'test' }) - Run the solution, add the web part, edit it,
- Click on the toggle button.
Submission Guidelines
Tested on a new project. SPFx 1.4.1. Browsers tested: Chrome 66, IE 11
Sorry for not staying on top of these - this has been fixed for a while.
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