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

PropertyPaneSlider step is not working as expected

Open MathieuMarchant opened this issue 8 years ago • 2 comments

Category

  • [ ] Question
  • [ ] Typo
  • [X] Bug
  • [ ] Additional article idea

In an SPFx web part I'm using a slider to define the item limit with the following configuration:

PropertyPaneSlider("itemLimit", { label: strings.ItemLimitLabel, min: 1, max: 11, step: 2 })

Expected or Desired Behavior

When sliding, the minimum value should be 1. Then while sliding the value should go up to 3, 5, 7, 9 until the maximum value which is 11.

Observed Behavior

The inital value is 1, while sliding it becomes 2, 4, 6, .. etc. I'm also unable to to put the value back to 1. 2 is now the minimum value that is selectable.

Steps to Reproduce

Use the PropertyPaneSlider in the web part properties with the given configuration. I'm using version 1.4.0.

MathieuMarchant avatar Feb 26 '18 12:02 MathieuMarchant

Sorry for the very long delay - we're working on cleaning up old bugs. As of the lastest release, this control is working correctly.

patmill avatar Sep 14 '21 19:09 patmill

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

ghost avatar Sep 22 '21 00:09 ghost