Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Prevent Multiple AutoComplete PopUps #103

Merged
merged 2 commits into from
Aug 20, 2019
Merged

Prevent Multiple AutoComplete PopUps #103

merged 2 commits into from
Aug 20, 2019

Conversation

wgnf
Copy link
Contributor

@wgnf wgnf commented Aug 20, 2019

In some rare cases it may happen, that the Loaded Event of the TextBox will be called twice. Because an AutoCompleteManager will be added to the TextBox each time the Loaded Event is fired, it may be added multiple times, resulting in having more than one AutoCompleteManager. Which results in displaying multiple popups, when the User writes something.

This change prevents this, as it "knows" if the AutoCompleteManager was already attached.

wgnf added 2 commits August 20, 2019 08:53
In some rare cases it may happen, that the "Loaded" Event of the "TextBox" will be called twice. Because an "AutoCompleteManager" will be added to the "TextBox" each time the "Loaded" Event is fired, it may be added multiple times, resulting in having more than one "AutoCompleteManager". Which results in displaying multiple popups, when the User writes something.
@htochenhagen htochenhagen merged commit d83cfbc into awesome-inc:master Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants