-
Notifications
You must be signed in to change notification settings - Fork 423
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
"rwmb_outside_conditions" filter and WordPress 5.0 #1295
Comments
I have fixed this bug in the latest version 1.6.4. Please update. |
Hi Rilwis, |
Thanks @fireform . I'll check that tomorrow and will update the plugin if needed. |
Thanks, @rilwis. Any news about the issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Overview
"rwmb_outside_conditions" filter isn't working properly when block editor is active.
Steps to Reproduce (for bugs)
Setup:
Meta Box v. 4.15.8
Meta Box Conditional Logic v. 1.6.4
Code:
Screenshots / Video
Video http://take.ms/tb9kc
Thoughts
It looks like the problem appears because WordPress now doesn't show or hide settings box, but removes it completely from the DOM. So, a possible solution is to bind 'change' event to "body" element and specify certain selector: $('body').on('change', '.class', function(){...}); Haven't looked into the code, just thoughts.
The text was updated successfully, but these errors were encountered: