WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

Fix: Prevent FilePicker button double-click

Open HO-COOH opened this issue 1 year ago • 1 comments

Description

This PR will prevent double-clicking the button, preventing two FilePicker dialogs to appear at the same time.

Motivation and Context

Currently, if you click the buttons on FilePicker page fast enough, two FilePicker dialogs will show up. Code examples are also added to show a correct implementation.

How Has This Been Tested?

Manual.

Screenshots (if appropriate):

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

HO-COOH avatar Jul 09 '24 15:07 HO-COOH

/azp run

karkarl avatar Sep 27 '24 18:09 karkarl

/azp run

niels9001 avatar Dec 06 '24 11:12 niels9001

/azp run

marcelwgn avatar Dec 12 '24 21:12 marcelwgn

I have no access to the CI build logs. Please fix it so we can contribute more easily. What are the errors?

HO-COOH avatar Dec 13 '24 02:12 HO-COOH