pnp / sp-dev-fx-property-controls

Reusable SPFx property pane controls - Open source initiative
https://pnp.github.io/sp-dev-fx-property-controls/
MIT License
235 stars 150 forks source link

PropertyFieldFilePicker - Preview for picked file updates across all instances #427

Open Theosaurus-Rex opened 2 years ago

Theosaurus-Rex commented 2 years ago

Category

[ ] Enhancement

[ x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ latest ]

Expected / Desired Behavior / Question

I expect that when I have multiple File Picker web parts in my property pane, both with unique identifying keys, that the preview image that appears in the property pane after an image has been selected will update for that single file picker control and ONLY that control.

Observed Behavior

Both of the preview images for both file picker parts installed update the preview image when I select a new image from just one of the file picker controls. See image here

Steps to Reproduce

I know this might seem silly because it's not actually affecting the functionality of the web parts, but our clients will likely be confused by this bug if we deliver the card to them in this state.

Thanks for reading, and please let me know if you need more info :)

ghost commented 2 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

github-actions[bot] commented 2 years ago

Thank you for submitting your first issue to this project.

joelfmrodrigues commented 2 years ago

@Theosaurus-Rex thanks for reporting the issue. Just to double-check, is this happening with the File Picker control for the web part property pane?

joelfmrodrigues commented 2 years ago

Transfering to property pane controls repo

ghost commented 2 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.