Skip to content

fix CloseDropDownMenus() closing active dropdowns prematurely (#2) and backdrop API for patch 9.0+#3

Open
wardz wants to merge 2 commits intophanx-wow:masterfrom
wardz:fix-dropdown-entries
Open

fix CloseDropDownMenus() closing active dropdowns prematurely (#2) and backdrop API for patch 9.0+#3
wardz wants to merge 2 commits intophanx-wow:masterfrom
wardz:fix-dropdown-entries

Conversation

@wardz
Copy link
Copy Markdown

@wardz wardz commented Feb 19, 2020

Patch 8.3.0 made a change that calls CloseDropDownMenus every time you click something on your screen. This causes the phanx-dropdown(s) to be closed right before you click a dropdown entry and thus ListButton_OnClick will never be triggered and no entry will be selected.

This PR fixes that issue by checking for an isActive flag before trying to close any phanx dropdowns. (Will be true for the most recently opened & visible dropdown)

Edit: Seems the author is no longer active on Github at all. For anyone reading, i'm hosting a fork of this project here for now.

@wardz wardz changed the title fix CloseDropDownMenus() closing active dropdowns prematurely (#2) fix CloseDropDownMenus() closing active dropdowns prematurely (#2) and backdrop API for patch 9.0+ Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant