Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wardz
Copy link

@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